【报错】xcode12 :The linked library 'libv8_monolith.a' is missing one or more architectures required ...

错误信息:

The linked library 'libv8_monolith.a' is missing one or more architectures required by this target: armv7. (in target 'libcocos2d iOS' from project 'cocos2d_libs')

解决办法:

1、cocos2d_libs.xcodeproj -> libcocos2d iOS -> Build Setting -> Architectures -> 将原有的Standard Architectures(arm64, armv7)……删除,再添加arm64
2、cocos2d_libs.xcodeproj -> libcocos2d iOS -> Build Setting -> Add User Defined Setting -> VALID_ARCHS arm64 (可省略)

确保这两处设置一致即可!!!

你可能感兴趣的:(【报错】xcode12 :The linked library 'libv8_monolith.a' is missing one or more architectures required ...)