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)网上有很多这样的错误都说是.m文件未导入其实不然,一般使用类库后自己会导入的,这个问题的解决办法是:
通过PROJECT-Build Setting,然后把Build Active Architecture Only的值设置为Yes。
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)网上有很多这样的错