【汇总】iOS开发及Xcode使用中遇到的一些报错问题汇总

时间:2024-07-14 22:05:14
这里整合下在开发过程中遇到过的一些报错问题和解决办法:(今天开始逐渐增加)
 
Xcode编译错误集锦:http://www.cnblogs.com/ios-wmm/p/3402261.html
 
1、问题名:...... has been modified since the precompiled header was built
相关连接地址: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管理第三方库新建工程时出现错误
问题描述:
()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.
()/Users/wmm-mac/Documents/Program-SVN/Versions/code/iPhone/GeneralProject/Pods/Pods-resources.sh: line : /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 (use -v to see invocation)
链接:http://www.cnblogs.com/ios-wmm/p/3362961.html
 
 6、使用Xcode6.1.1打包出现Your account already has a valid iOS Distribution certificate问题
链接:http://www.cnblogs.com/ios-wmm/p/4271904.html