runtime exception after upgrade to Xcode4.5 iOS6 Base SDK

半城伤御伤魂 提交于 2019-12-03 11:43:00

I meet the same error too when building my own lib and run it in my sample code. After reading the build log carefully, I figure out the reason now.

I set my deployment target to iOS 3.0, but the latest Xcode only support iOS 4.3 and later. So the compiler automatically set the deployment target to iOS 6.0, which generates error whenever the project is running under iOS 6.0. I fixed it by setting the deployment target to iOS 4.3 in my lib project.

There is a problem in changng SDK deployment target alone. I just created a tab based application. Didn't do any change in any file. Running fine on ios 6 simulator but if I change
deployment target to 5 and run on ios 5 simulator which is creating exception(signal SIGABRT). Xcode version 4.5 and default deployment target SDK 6.0.

Or it could be that you are using a library that was compiled with a higher base SDK than your project base SDK.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!