IOS升级11.4后,Xcode只支单边架构运行的问题

报错:Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.或者Building for iOS Simulator, but the linked and embedded framework 'App.framework' was built for iOS.

文章链接地址:https://flutter.dev/docs/development/ios-project-migration

根据文档设置下来,很可能xcode Run完以后生成的App.framework不会出现asssts文件,编译失败,造成这一问题的原因很有可能是缓存问题依然存在, clear build然后重启电脑,再clear build, Run,OK了,完美解决

你可能感兴趣的:(IOS升级11.4后,Xcode只支单边架构运行的问题)