ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/bevin1984/ios开发/erpUnitStore.ios/erpUnitStore/libCorePlot-CocoaTouch.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
后来找了好多地方,在老外的一个博客发现了解决方法:
This error did not allow me to run on my iPad. So I did a bit of searching and found that I have to change the Build Active Architecture Only to YES. After that, it all worked fine. This setting is in the build setting. Hope this helps someone!
具体操作:
打个项目的Build Setting 找到 Build Active Architecture Only 把里头的Debug和Release 都改成YES
再进行打包一切OK!