Search code examples
c4

Error When Compiling c4iOS app in XCODE


finally got reg'd as an iOS developer - tried to compile the app i wrote for the iPAD. app runs fine in simulator, it throws this error when compiling.

here is the error ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/YourMom/Documents/_.programming/c4iOS_APPS/test2/test2/Library/libC4.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

current version:

https://github.com/dubpixel/test2

thanks

-jf


Solution

  • Project -> Build Settings -> remove the arm7s architecture from "valid architectures"

    this worked, and kept xcode from wondering where its second slice was!