Static library dependency compiles in simulator on Xcode 3.2.3, fails on device

◇◆丶佛笑我妖孽 提交于 2019-12-04 17:32:25

From what I can tell, you built libCompton while liking it directly to three20, this is going to cause nothing but hell. Linking static libraries together and trying to use that in the final project isn't going to be fun. Link three20 against your application as well, and it should resolve your issues, compton should just need the headers in order to compile, it will just require those symbols to be present at final linking in your app.

I've now resolved this issue, the answer came through on the Apple Developer Forums. If you set the base SDK to > 3.2, you need to set the "Architectures" option in Build settings to Optimized (armv7).

The code now compiles and just fine on the simulator and the device.

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