我正在尝试将现有的Xcode项目推送到Github,我正在尝试使用Github Desktop。
单击“发布”按钮后,我在日志文件中得到以下错误:
remote: warning: File Classes/Model/AdsModel/MMAdSDK.framework/Versions/A/MMAdSDK is 55.09 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 9b0bea4378d6e35bdc3c8f76ffd00b96
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File Classes/Model/AdsModel/AppLovinSDK.framework/AppLovinSDK is 104.74 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/*********.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/********.git'
我已经创建了该文件:
.gitignore
然后插入:
Pods/
AppLovinSDK
Classes/Model/AdsModel/AppLovinSDK.framework/AppLovinSDK
Classes/Model/AdsModel/
任何主意是什么问题?为什么GitHub不忽略此文件?