Flutter iOS build failure error with Multiple commands after the Xcode upgrade

后端 未结 4 479
长情又很酷
长情又很酷 2020-12-09 18:02

Flutter iOS build fails after upgrading to Xcode 10.0 version in mac.

Nagendras-MacBook-Pro:uaenumber nagendra$ flutter run
Launching lib/main.dart on iPhone          


        
4条回答
  •  自闭症患者
    2020-12-09 18:08

    This solution worked for me.

    1. Open ios/Runner.xcworkspace Select the Runner project in the project navigator sidebar.
    2. In the main view, select the Runner target, then select the Build Phases tab.
    3. Expand the Embed Frameworks phase and select Flutter.framework from the embedded frameworks list.
    4. Click - to remove Flutter.framework from the list (be sure to keep App.framework).

提交回复
热议问题