XCode 6 and Ad-Hoc distribution without XC: provisioning

后端 未结 10 1806
孤城傲影
孤城傲影 2020-12-15 18:17

Yesterday I\'ve downloaded Xcode 6 and now I have got a problem I can\'t solve. In my member center I\'ve got valid certificate and ad-hoc provisioning (distrib

10条回答
  •  自闭症患者
    2020-12-15 19:12

    I encountered the same issue. On one of the StackOverflow threads you linked to, a solution was recently added that worked for me.

    After you have created the archive, you can export it with a specific provisioning profile from the command line:

    xcodebuild -exportArchive -archivePath "~/Library/Developer/Xcode/Archives/{some-date}/{appname date, time.xcarchive" -exportPath {appname} -exportFormat ipa -exportProvisioningProfile "{provisioning profile name}"

    Note that the provisioning profile name is just the name, without any path or file extension.

提交回复
热议问题