运行Flutter项目报错Building for iOS, but the linked and embedded framework ‘App.framework’ was built...的处理

Xcode11.4运行Flutter项目报错Building for iOS, but the linked and embedded framework ‘App.framework’ was built for iOS Simulator.的处理

运行Flutter项目报错Building for iOS, but the linked and embedded framework ‘App.framework’ was built...的处理

  1. 在项目根目录下Clean下:
    flutter clean
  2. 然后删除ios/Flutter/App.framework:
    rm -rf ios/Flutter/App.framework
    运行Flutter项目报错Building for iOS, but the linked and embedded framework ‘App.framework’ was built...的处理
  3. 再次运行即可

转载于https://blog.****.net/pucker/article/details/105157163