error: Building for iOS Simulator, but the linked and embedded framework '***.framework' was buil...

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

修改项目配置里面的Validate WorkspaceYes,正常编译成功!

再次修改回NO,也会正常编译!

https://xcodebuildsettings.com  配置说明文档

你可能感兴趣的:(error: Building for iOS Simulator, but the linked and embedded framework '***.framework' was buil...)