Skip to content

Instantly share code, notes, and snippets.

@tamaki-shingo
Last active August 29, 2015 14:13
Show Gist options
  • Save tamaki-shingo/238d7f562e8977943bef to your computer and use it in GitHub Desktop.
Save tamaki-shingo/238d7f562e8977943bef to your computer and use it in GitHub Desktop.
clean -> build -> archive -> deploy to deploygate
xcodebuild -project hoge.xcodeproj clean DSTROOT="${HOME}/Desktop" SYMROOT="${HOME}/Desktop"
xcodebuild -project hoge.xcodeproj -configuration Release -target "hoge" install DSTROOT="${HOME}/Desktop" SYMROOT="${HOME}/Desktop"
xcrun -sdk iphoneos PackageApplication "${HOME}/Desktop/Applications/hoge.app" -o "${HOME}/Desktop/Applications/hoge.ipa" -embed "${HOME}/Library/MobileDevice/Provisioning Profiles/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.mobileprovision"
dgate push -m "comment" "${HOME}/Desktop/Applications/hoge.ipa"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment