embedded framework error

ERROR:

Building for iOS, but the linked and embedded framework '*.framework' was build for iOS + iOS Simulator

解决方案:
TARGETS -> Build Settings -> Validate Workspace
先设置成 Yes,再改成 NO,即可编译通过

image.png

推荐阅读更多精彩内容