Feature: Use "Distribution" certificate for iOS App AdHoc profiles #198
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Continuation to the improvements first introduced in #185. There the default certificate type for iOS App distribution provisioning profiles was changed from iOS Distribution to Distribution so that single certificate could be used for provisioning profiles targeting different platforms.
Similar change can be also made for iOS App AdHoc profiles. Up until now iOS AdHoc profiles were mapped to iOS Distribution certificates, but those too can use the platform-independent Distribution certificates. So, with the changes here
provisioning profiles of type
IOS_APP_ADHOC
are assigned certificates with typeDISTRIBUTION
(as opposed toIOS_DISTIBUTION
which was used before), when downloaded (or created) using actionapp-store-connect fetch-signing-files
. This allows reusing one signing certificate for signing apps that target different platforms, and reduces need to create excess certificates in Apple Developer Portal.Updated default provisioning profile type to certificate type is now as follows:
IOS_APP_ADHOC
provisioning profiles useDISTRIBUTION
certificates by default (previouslyIOS_DISTRIBUTION
).The change is backwards compatible in the sense that existing matching
IOS_DISTRIBUTION
certificates are still used for iOS App AdHoc provisioning profiles in case they are found and noDISTRIBUTION
certificates are present.Updated actions:
app-store-connect fetch-signing-files
.