Mach O Link Error- linker command failed with exit code 1 (use -v to see invocation)

后端 未结 3 1227
执笔经年
执笔经年 2021-01-18 13:56

When I try building for archiving for my app in Xcode (version 4.5) I get an error that says:

ld: file is universal (3 slices) but does not contain a(n) armv         


        
相关标签:
3条回答
  • 2021-01-18 14:36

    Yeah, I had this same exact problem. Click on your project in xcode. Then, click on the target. Go to build settings and look for valid architectures. Delete armv7s from the list of valid architectures and just leave armv7.

    Let me know if you have any questions!

    0 讨论(0)
  • 2021-01-18 14:37

    I received a very similar message just the other day when I tried running my app on my iPad after several successful attempts on the simulator. I found out that under the build settings I had to make "build active architecture only" to yes. Then my app would compile on my device. Hope this helps.

    0 讨论(0)
  • 2021-01-18 14:38

    here I provide you one temporary solution that can solve this error hope its help you,

    go to Project->Build Settings->Build Active Architecture Only->yes

    thats it.

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