linker command failed with exit code 1 xcode4.5

前端 未结 2 1620
一生所求
一生所求 2021-01-06 15:54

I updated my iphone4s and xcode to the latest yesterday. And I\'m trying to debug my app on my phone since my application uses hardware communication. I\'m using a third pa

2条回答
  •  余生分开走
    2021-01-06 16:19

    You can simply disable the compilation of armv7s in your Build Settings, by replacing the $VALID_ARCHITECTURES (which evaluates to armv7 armv7s now) value by the explicit value armv7.

    Thus your application will only build for armv7 and not armv7s, so will not be fully optimized for the new iPhone5, but it will still run on iPhone 4 and 5 anyway (the armv7s processor of the iPhone 5 can execute armv7 applications, it is just not as optimized as with armv7s processor dedicated instructions)

提交回复
热议问题