iOS开发中常见问题集锦

时间:2023-02-08 17:18:14

在iOS开发中,会出现各种各样的问题。今天,就把这些常见的问题以及各位大牛的解决方案汇总下,方便以后查阅:

常见错误:

1. linker command failed with exit code 1 (use -v to see):

http://www.reader8.cn/jiaocheng/20131022/2003334.html

2.开发问题

http://blog.sina.com.cn/s/blog_4cd8dd130102uzgp.html

http://www.jianshu.com/p/3cc2cf162fb2

3. -[_NSInlineData objectForKey]

http://*.com/questions/30301006/nsinlinedata-objectforkey-unrecognized-selector-sent-to-instance-0x7e351cc

4. 使用CocoaPods被卡住:Updating local specs repositories

http://blog.sina.com.cn/s/blog_6123f9650102vsb8.html

5. The file “Pods.xcconfig” couldn’t be opened because there is no such file.

http://blog.csdn.net/wy10207010219/article/details/41007699

6. App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file

http://blog.csdn.net/itianyi/article/details/49943369

7. xcode在真机调试的时候出现"The identity used to sign the executable is no longer valid"

http://blog.csdn.net/rekrad/article/details/17860117

8.  一个Provisioning not found错误的解决

http://blog.csdn.net/kmyhy/article/details/6872762

9.Error Domain=com.alamofire.error.serialization.response Code=-1016 “Request failed: unacceptable content-type: text/html”

http://www.chenruixuan.com/archives/1078.html

10.iOS开发Post请求错误:Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or …

http://www.mobile-open.com/2015/88290.html

11. iOS7使用AFNetworking3.0上传图片时出现的问题

http://www.jianshu.com/p/0a3820d6a951

12.iOS 'The sandbox is not sync with the Podfile.lock’问题解决

http://www.thinksaas.cn/topics/0/351/351314.html

13.[iOS][swift]cocoapods,-Bridging-Header.h导入头文件提示not found

http://www.jianshu.com/p/430209ba801f

14.No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).,archi386

http://www.bkjia.com/Androidjc/973562.html

http://blog.csdn.net/wmqi10/article/details/22281187

15. Vesions ignore & ld: library not found for -l问题总结

http://my.oschina.net/gexun/blog/317325

16. ld-library-not-found-for-lz

http://*.com/questions/9803702/ld-library-not-found-for-lz

17.极光推送:

http://docs.jpush.cn/pages/viewpage.action?pageId=7864782#iOS常见问题-为什么启动的时候出现DidFailToRegisterForRemoteNotificationsWithError的错误

18. dyld-library-not-loaded-rpath-xctest-framework-xctest-error

http://*.com/questions/27691432/xcode-6-1-dyld-library-not-loaded-rpath-xctest-framework-xctest-error

如有错误,请指出,谢谢!