ios – Cannot construct or archive app utilizing xcodebuild “…-frameworks.sh: line 42: supply: unbound variable”

[ad_1]

I’m unable to construct our app utilizing the xcodebuild command, nevertheless if I open the undertaking in xcode and click on construct or archive from the Product menu, it builds completely high-quality. I can not work out what I’m doing in another way through cli that’s inflicting it to error.

The command I’m utilizing:

xcodebuild archive -scheme Dropless -configuration Launch -destination 'generic/platform=iOS' SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES

The error:

/ios/Pods/Goal Help Recordsdata/Pods-Dropless/Pods-Dropless-frameworks.sh: line 42: supply: unbound variable Command PhaseScriptExecution failed with a nonzero exit code

I’ve seen numerous posts on-line about this error and all appear to level towards the identical factor with the outlined architectures, nevertheless nothing I do appears to make a distinction and if it builds in xcode manually I can not see there being a difficulty with what I’ve outlined.
That is my settings:
Defined Architectures

  • xcode model: 13.4.1
  • osx model: 12.5.1 Monterey

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *