error: unable to spawn process (Argument list too long) in Xcode Build

后端 未结 11 2174
一生所求
一生所求 2021-01-11 10:10

I am getting this error:

\"error: unable to spawn process (Argument list too long)

** ARCHIVE FAILED **

The following build co

11条回答
  •  醉话见心
    2021-01-11 11:13

    If you faced this issue on your Flutter project while building in Release mode (or Archive) check out my this answer: https://stackoverflow.com/a/61446892/5502121 Long story short:

    • set your build system to New Build System in File > Project Settings…
    • remove ios and build_ios folders
    • run flutter create . to init new ios module
    • run pod install
    • run flutter pub get
    • check your Xcode build config (it should be Release mode and General iOS Device)

    and you're good to go

提交回复
热议问题