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

5 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
  3. The online networking application will enable Apple to contend with prominent web-based social networking stages to like Instagram and Snapchat.see it here

    ReplyDelete
  4. Awesome and interesting article. Great things you've always shared with us. Thanks. Just continue composing this kind of post. TweakBox

    ReplyDelete
  5. This sort of message continually moving and I like to peruse quality substance, so upbeat to discover great spot to numerous here in the post, the composition is simply awesome, a debt of gratitude is in order for the post. AirShou Screen Recorder

    ReplyDelete