Flutter - iOS: Command /bin/sh failed with exit code 255

前端 未结 6 2099
萌比男神i
萌比男神i 2021-02-20 03:54

Good afternoon,

I try to run a Flutter project on iOS, previously successfully run on Android. However, I got an error:

\"x86_64\" is not an allowed valu         


        
6条回答
  •  孤独总比滥情好
    2021-02-20 04:40

    For me helped:

    1. Disconnect all physical phone's from mac.
    2. Close Xcode.
    3. In terminal command

      flutter clean

    4. Start Xcode by running Runner.xcworkspace, that you have inside your project folder /yourProjectFolder/ios/Runner

    1. Choose menu Product - Archive

    1. That's it! After that build was successful. Appear windows where you can distribute app.

提交回复
热议问题