Flutter 真机或者模拟器报错: but the linked and embedded framework 'App.framework' was built for

具体错误信息为:

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并重新编译生成

猜你喜欢

转载自blog.csdn.net/qizd0802/article/details/105239003