Will Larche
Will Larche

Reputation: 3149

Unable to "apportable load". Give NoneType error

Trying to use apportable for the first time. Keep getting this error:

TypeError: 'NoneType' object is not subscriptable

and also

NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";

And then the script terminates.

Upvotes: 4

Views: 483

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29582

xcode-select --switch /Applications/Xcode.app/Contents/Developer

Background: This can occur if you've updated to Xcode 5. It seems Xcode 5 has a bug that it can generate incorrect output when running xcodebuild.

Upvotes: 1

Related Questions