#!/bin/bash path="$(dirname "$BASH_SOURCE")" cd -- $path name="JMKA" xcodebuild -exportArchive -exportOptionsPlist Info.plist -archivePath $name.xcarchive -exportPath $name.ipa