Error in xcode project: ld: library not found for -lcrt1.10.6.o

后端 未结 12 1097
日久生厌
日久生厌 2020-12-05 07:09

Just upgraded to Snow Leopard, installed Xcode 3.2, then installed iPhone SDK 3 for SL.

In a project, I now get the following error on build:

12条回答
  •  借酒劲吻你
    2020-12-05 07:52

    Edit Project Settings -> In the build tab -> For Mac OS X Deployment Target, change it to 10.5 for XCode 3 (not 10.6 even if on 10.6) and see if that helps.

    For XCode 4, you'll need to set it to 10.6

    P.S. Make sure you set that for all targets, not just release or debug. (if you didn't, one would fail, the other wouldn't)

提交回复
热议问题