這里整合下在開發(fā)過程中遇到過的一些報錯問題和解決辦法:
Xcode編譯錯誤集錦:http://www.cnblogs.com/ios-wmm/p/3402261.html
1待牵、問題名:......?has been modified since the precompiled header was built
相關(guān)連接地址:http://www.cnblogs.com/ios-wmm/p/3272070.html
2录豺、問題名:Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'
鏈接:http://www.cnblogs.com/ios-wmm/p/3307427.html
3邓嘹、問題描述:
Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “XXXX”, however, no such provisioning profile was found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'
鏈接:http://www.cnblogs.com/ios-wmm/p/3360750.html
4宴凉、Xcode工程使用CocoaPods管理第三方庫新建工程時出現(xiàn)錯誤
問題描述:
(1)diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
(2)/Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/Pods-resources.sh: line 5: /Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/resources-to-copy-GeneralProject.txt: Permission denied
鏈接:http://www.cnblogs.com/ios-wmm/p/3360958.html
5翻诉、iOS工程集成支付寶錯誤Undefined symbols for architecture armv7
問題描述:
Undefined symbols for architecture armv7:
"CreateRSADataVerifier(NSString*)", referenced from:
-[AppDelegate parseURL:application:] in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
鏈接:http://www.cnblogs.com/ios-wmm/p/3362961.html
6、使用Xcode6.1.1打包出現(xiàn)Your account already has a valid iOS Distribution certificate問題
鏈接:http://www.cnblogs.com/ios-wmm/p/4271904.html
7、
1)找到項目中的**.xcodeproj文件,點擊右鍵惹盼,show package contents(打開包內(nèi)容)。
2)打開后找到project.pbxproj文件惫确,用文本編輯器打開手报。其實就是右鍵,點擊open就好了雕薪。
3)打開這個文件后昧诱,按command+F,在這個文件中查找“PROVISIONING_PROFILE",找到和這個“
PROVISIONING_PROFILE = "0ebcfaeb-314d........................";類似的都刪除所袁。
4)點擊完成,重新打開項目即可