Xcrun with zip I / O error: There is no such error in the file or directory:

Attempt to export archive using xcrun

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

The following error failed:

 + /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) ] 
+6
source share
1 answer

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

+10
source

Source: https://habr.com/ru/post/974127/


All Articles