Building iPhone SDK 2.x targets with Base SDK 3.0, when linking static libraries created with SDK 3.0

后端 未结 2 967
再見小時候
再見小時候 2021-02-09 04:47

I\'m having a problem getting Pinch Analytics r64, a static library built with iPhone SDK 3.0, to link properly in my application which is targetting iPhone OS 2.0. This seems

相关标签:
2条回答
  • 2021-02-09 05:08

    After a few emails with the Pinch Media team, the problem is solved. Basically, you should NEVER USE THE DROPDOWN TO SELECT A DIFFERENT ACTIVE SDK.

    Set Base SDK to 3.0 in Project Info. Set iPhone OS Deployment Target to 2.0 (or whichever version you're targetting) in Project Info. Leave the device/configuration/target dropdown set to the Base SDK (3.0), or Xcode will use the OLD toolchain associated with the selected "Active SDK".

    0 讨论(0)
  • 2021-02-09 05:17

    Check your compiler. I suspect you have a mismatch between code compiled with LLVM-GCC4.2 and GCC4.0.

    0 讨论(0)
提交回复
热议问题