but the linked and embedded fram
2020-04-08 本文已影响0人
一个半吊子工程师
之前Flutter项目都妥妥的,升级Xcode11.4后却报错。
error: Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator. (in target 'Runner' from project 'Runner')
首先Clean下项目,在项目根目录下:
flutter clean
然后删除ios/Flutter/App.framework:
rm -rf ios/Flutter/App.framework
再次运行,应该就OK了。