Skip to content

Instantly share code, notes, and snippets.

@manishpathak99
Last active December 1, 2021 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manishpathak99/194798955733923af6b2d6fee13d4c9a to your computer and use it in GitHub Desktop.
Save manishpathak99/194798955733923af6b2d6fee13d4c9a to your computer and use it in GitHub Desktop.
Xcode iOS Commands
***************** Show build duration time during running the project in xcode ******************
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES
*****Create ipa from xarchive******** -> To convert .xcarchive to .ipa | xcode 9
xcodebuild
-exportArchive
-exportOptionsPlist {PATH_TO_PROJECT_ROOT}/ios/build/info.plist
-archivePath {PATH_TO_ARCHIVE_MADE_USING_XCODE}/MyApp.xcarchive
-exportPath {PATH_TO_EXPORT_THE_APP}/MyApp.ipa
Example - xcodebuild -exportArchive -exportOptionsPlist ./info.plist -archivePath ./myxcarchive.xcarchive -exportPath ./myapp.ipa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment