How to get a distribution app when using xcodebuild -exportArchive (Xcode8.3, Auto Signing)?

前端 未结 3 891
忘了有多久
忘了有多久 2021-02-19 14:04

After update Xcode8.3, the options \'-exportSigningIdentity\', \'-exportProvisioningProfile\' and \'-exportFormat\' are removed from \'xcodebuild

3条回答
  •  渐次进展
    2021-02-19 14:38

    When you set Automatic Signing Enabled Xcode will automatically generate according provisioning profile.

    But in order to make your command working you need to manually export the archive the first time. Once it is done, Xcode will generate the provisioning profile (it starts by "XC" in the Apple Developer website).

    Then your xcodebuild command will work.

    Product -> Archive

    Once it's done

    Windows -> Organizer -> Select the last version -> Export (right pannel under Upload to App Store)

    Keep me inform if you need additional informations.

提交回复
热议问题