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

前端 未结 6 2072
萌比男神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:50

    This issue happened to me after building a release version. It seems that iOS emulators does not support release versions.

    If you want to run your app on an emulator you will need to build a debug version

    flutter clean
    flutter build ios --debug
    

提交回复
热议问题