【问题】:
I upgraded xcode version and when using external static libraries I get this message:
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /file/location for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
is there anyway to bypass this and add support to the library if the developer of the library didn't updated his library yet ?
Thanks
【解决方法】:
If you want to remove the support for any architecture, try this:
Project -> Build Settings -> remove the architecture from "valid architectures"
You can use this as a temporary solution until the library has been updated.