Replies: 6 comments 17 replies
|
Should already work using the general But of course, it would be nice if the same arguments as |
|
This is awesome, it works, but only the first time, I'm building with CircleCI, first time everything is smooth, the app is signed and uploaded to TestFlight, but the second time I get this error
I understand why this is happening, but what would be the best way to handle this? The perfect setup would be to not deal with profiles and certificates at all, but I might end up by still keeping the certificate handled by fastlane match. Or maybe just revoke the certificate after each build? |
|
Seems like the "Xcode cloud signing" works as expected only for managing the Distribution certificate when using multiple machines for building. You will not be able to get automatic handling of the Development certificate if you use different machines every run (as in the CI services). Just like before, you are still required to have the Development certificate + private key installed on the machine to be able to create an archive. After that, you may use the cloud signing parameters to actually export your archive to an IPA and sign it with the managed distribution certificate that is automatically handled by Xcode Cloud Signing. You may split the process in two phases, this applies to Gym or any other tool calling xcodebuild directly:
You can then finally push the IPA to Testflight using whatever you are used to. If you just using a single machine to build and archive, then you don't have to manually handle the Development certificate + private key as that pair will be generated automatically on the first run and subsequent builds will simply make use of it. |
|
This is amazing! 🤩 I'm in the agency business, and it always seemed like an overhead to set up In the case of self-hosted CI, I'm using It would be nice if |
|
hello all, i'm trying to get this to work, but i'm getting a i think this is because i don't have the private key that corresponds to i'm running this on a github action, so i have to so, i'm guessing that i need to actually do all the steps from the examples section of the import_certificate docs this is my fastfile definition can anoyone confirm ? @pchmelar maybe ? :) p.s.: i've looked at the following troubleshooting docs |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With Xcode 13 we have the option to use cloud signing. Basically if we
-allowProvisioningUpdateswe can now use the App Store api key instead of a developer id logged into Xcode to use automatic provisioning and sign without needing to install provisioning profiles from tools likematch.The steps are described in https://developer.apple.com/videos/play/wwdc2021/10204/.
These
xcodebuildoptions are used to achieve this.-allowProvisioningUpdates -authenticationKeyIssuerID <UUID> -authenticationKeyID <KEY_ID> -authenticationKeyPath <PATH_TO_KEY>It would be nice to add support for the above in
gymAll reactions