Advertisement
shyhjie

Untitled

Dec 12th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. xcodebuild clean
  2. #clean previous file
  3. rm -f build/xxx.ipa
  4. rm -rf build/xxx.xcarchive
  5.  
  6. #archive
  7. mkdir build
  8. xcodebuild archive -workspace xxx.xcworkspace -scheme 'xxx(adhoc)' -sdk iphoneos -archivePath build/xxx.xcarchive
  9. xcodebuild -exportArchive -exportFormat IPA -archivePath 'build/xxx.xcarchive' -exportPath build/xxx.ipa -exportProvisioningProfile 'xxx_adhoc_2015.12'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement