I am trying to export an ipa using the command line, I can\'t do that within Xcode because the app is made for a client and I am not a member of his team (I really hope Appl
It turns out that I was using the wrong commands; specifically this part is wrong:
-PROVISIONING_PROFILE= xxxxxxx-8a61-4264-8fe9-0513bd7935e6
-CODE_SIGN_IDENTITY=iPhone Developer:xxxxx
The correct one is this:
-exportProvisioningProfile "Provisioning profile full name "
Provisioning profile full name is the same name that appear in Xcode, not the UDID (I don't know why many people suggested that) also there is no need to specify the signing identity.
Anyway, here is the full command line that is working for me now:
xcodebuild -exportArchive -archivePath myArchive.xcarchive -exportPath myApp.ipa -exportFormat ipa -exportProvisioningProfile "Provisioning profile full name"
NOTE:
cd
desktop
) and then running the command