ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/mars/Downloads/ydsg/1.0/ydsg/libs/cocos2dx/platform/libraries/libcurl.a file ‘/Users/mars/Downloads/ydsg/1.0/ydsg/libs/cocos2dx/platform/libraries/libcurl.a’ for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
修改TARGETS->Build Settings Architectures->Build Active Architecture Only为Yes。 caution:若无效,设置为No,然后再重新设置为Yes. 设置为下图所示: