Xcode12.3模拟器编译报错

Xcode升级到12.3版本后编译会报错

  • Project.xcodeproj Building for iOS Simulator, but the linked and embedded framework 'xx.framework' was built for iOS + iOS Simulator.

解决方法:

Xcode - Bulid Settings - 搜索Build Options - vaildate workspace设置为Yes。重新运行就好了。

其他解决方法:

Xcode -> File -> Project Settings -> Per-User Project Settings -> Build System -> Legacy Build System(Deprecated)

注意
这种方法虽然可以正常运行,但是打包导出时,可能会报错数据解析异常

你可能感兴趣的:(Xcode12.3模拟器编译报错)