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

后端 未结 3 1226
执笔经年
执笔经年 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!

提交回复
热议问题