Google+ Followers

Thursday, 11 February 2016

Calabash-ios Shell script to create .ipa file from .app file


#Shell script to create .ipa file from .app file, where .app file is built using '-sdk iphoneos' in xcodebuild command

#Delete old Payload dir
if [ -d Payload ]; then
rm -rf Payload
fi


mkdir Payload
#Copy .app file from derived data foldercp -Rf ../Products/Debug-iphoneos/App-cal.app Payload/App-cal.app
echo "Copying & Zipping APP file into .ipa file"
zip -qry App-cal.zip Payload
mv App-cal.zip App-cal.ipa
rm -rf Payload

if [ ! -f 'App-cal.ipa' ]; then
echo "[!] FAILED TO CREATE .IPA"
exit 1
fi

2 comments:

  1. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.


    SAP training in Chennai

    ReplyDelete
  2. Thank you very much for sharing such a useful article. Will definitely saved and revisit your site
    iOS app development

    ReplyDelete