AppleDev.Tools icon indicating copy to clipboard operation
AppleDev.Tools copied to clipboard

'apple provisioning list' shows the same bundle identifier for all returned profiles.

Open timrisi opened this issue 8 months ago • 1 comments

When I use the command to list provisioning profiles from App Store Connect, I get back a list of all applicable profiles based on the request, but they all show the bundle identifier of the first one on the list. If I try to pass in a bundle identifier, I'll get back 0 results if it doesn't match the first profile in the list, or the entire list if it does match the first item.

It looks like the below line is just grabbing the first bundle identifier from profiles.IncludedBundleIds and including it for all of the profiles (unless a specific bundle id was specified) instead of finding the appropriate bundle id for the profile in question in the foreach loop.

https://github.com/Redth/AppleDev.Tools/blame/b4588e9be0a902eab611a4f806d923e9ffe37b86/AppleDev.Tool/Commands/AppStoreConnect/ProvisioningProfiles/ListProvisioningProfilesCommand.cs#L30

timrisi avatar Apr 23 '25 18:04 timrisi

Yep, this will be fixed in #11

Redth avatar Nov 18 '25 22:11 Redth