Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcrun fails with zip I/O error: No such file or directory zip error:

Tags:

xcode

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) ] 
like image 488
vish Avatar asked Aug 20 '14 22:08

vish


1 Answers

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

like image 177
vish Avatar answered Nov 15 '22 06:11

vish