6

Trying to export an archive with xcrun

xcrun -sdk iphoneos PackageApplication \
    -v $BUILD_PATH/$PRODUCT_NAME.xcarchive/Products/Applications/$PROJECT_NAME.app \
    -o $BUILD_PATH/$PRODUCT_NAME.ipa

Fails with the following error:

+ /usr/bin/zip --symlinks --verbose --recurse-paths ../xx/xx.ipa . Program /usr/bin/zip returned 15 : [zip I/O error: No such file or directory zip error: Could not create output file (../xx/xx.ipa) ] 

1 Answer 1

10

xcrun require absolute paths. (i.e. /User/you/...). You can do $PWD/build/release-iphoneos/etc.

1
  • life saver, who knew that it had to be absolute?!
    – mix3d
    Commented Nov 12, 2015 at 22:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.