具体错误信息为:
building for is simulator but the linked and embedded framework 'app.framework' was built for ios
或者
Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.
表面意思即使App.framework编译的模式和选择的设备不对应
解决方案:
删除App.framework并重新编译生成