Build fails with “Command failed with a nonzero exit code”

前端 未结 30 2668
栀梦
栀梦 2020-11-28 09:15

When I try to build my app with Xcode, an error interrupts the build process:

Command CompileStoryboard failed with a nonzero exit code

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 09:38

    If you are facing an error like that on new MacOS version.

    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    It means that you need to install XCode command line, open a Terminal and run this command:

    $ xcode-select --install

提交回复
热议问题