目标平台:Mac
点编译按钮后报错如下:
error: The linked library ‘libcurl.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libcrypto.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libglfw3.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libfreetype.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libpng.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libtiff.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libssl.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libv8_monolith.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libjpeg.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libwebsockets.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libwebp.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
error: The linked library ‘libuv_a.a’ is missing one or more architectures required by this target: arm64. (in target ‘libcocos2d Mac’ from project ‘cocos2d_libs’)
用这种方式解决是正常的吗?为什么默认的Mac工程没这样配置好呢?好奇怪。