Xcode 5 iOS 7 CocoaPods Linker Error

后端 未结 8 1877
野趣味
野趣味 2020-12-15 04:22

I just upgraded my old project to new iOS 7. It was already using Cocoapods. I compile and run and everything works fine on the simulator and the device. I tried to archive

8条回答
  •  误落风尘
    2020-12-15 04:46

    I had this problem when experimenting with adding CocoaPods to an existing project.

    It turned out that CocoaPods got the Architectures setting right, but missed on the Build Active Architecture Only setting. Both must be in perfect sync with your main project, or it will fail when building for a real device (at least if you got more than one ARM arch, which you usually do (armv7, armv7s and now arm64)).

    Solved the problem for me, hopefully this will help others with a similar problem.

提交回复
热议问题