开发者

Deploying for iOS3.1.3 using Xcode 4.2

Just upgraded to Xcode 4.2 and am trying to figure out how to compile an app for iOS3.

I've set the deployment target as iOS3 but am getting this build error: ld: library not found for -lz.1.2.3 Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

I assume this is a library that has been added but not sure where to find this opti开发者_开发百科on in Xcode nor how I solve it.

Any suggestions?


You are getting compile error because the compiler cannot find your library but not because it cannot compile for iOS 3.

You are doing right at the deployment target part.

Try use libz.dylib instead of the one with version fixed in its filename, see if it resolved the compile error.


It's not possible. Apple removed support for arm6 processors (= <= iOS 3) in Xcode 4.2.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜