Generating ipa from xcode command-line

后端 未结 3 1770
梦如初夏
梦如初夏 2021-01-31 11:05

Whats the best approach for generating an IPA file from command-line?

I\'m on xcode 4.2 and generating the archive using:

xcodebuild -scheme AppStore cle         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-01-31 11:18

    After Archive, you need to "Export" to desired format ie ipa:

    xcodebuild -sdk iphoneos7.0 -archivePath "path to archive file" -exportPath "path_for_export" -exportFormat ipa -exportArchive -exportProvisioningProfile "provisioning_profile_to_export_with"

提交回复
热议问题