Bug 31901 - Cannot distinguish profiles when distributing
Summary: Cannot distinguish profiles when distributing
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.9
Hardware: PC Mac OS
: High normal
Target Milestone: master
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2015-07-13 20:16 UTC by Frank A. Krueger
Modified: 2015-08-19 11:27 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Image showing how it's impossible to choose between profiles (46.27 KB, image/png)
2015-07-13 20:16 UTC, Frank A. Krueger

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Frank A. Krueger 2015-07-13 20:16:56 UTC
Created attachment 12009 [details]
Image showing how it's impossible to choose between profiles

The profile selector page doesn't show enough details to choose the right profile. Look at the screenshot.

Please show the time of generation or expiration so we know which one to choose.
Comment 1 Jeffrey Stedfast 2015-07-14 11:58:37 UTC
Hmmm, I see what you mean. We show the expiration date, but they appear to be identical in your case. I suspect that would mean they were created on the same day as well, so that might not help.

Perhaps we could show the UUID?
Comment 2 Jeffrey Stedfast 2015-08-14 16:13:01 UTC
We now tack on the UUID for provisioning profiles that share identical names.
Comment 3 Frank A. Krueger 2015-08-19 10:47:31 UTC
No no no. The ID is useless!!!!!!

Just show the TIME!!!

Please I don't know guids
Comment 4 Jeffrey Stedfast 2015-08-19 10:53:50 UTC
What if the creation dates are the same, though? In your case, I highly suspect they would be since they all seem to last for 1 year and we already show the expiration date which matches.
Comment 5 Frank A. Krueger 2015-08-19 11:00:47 UTC
You show TIMEs when selecting profiles in the build settings.

You have access to the info.

I am saying TIME not just date. Yes, I create many profiles in a day when trying to submit an app. But I don't create them at the same instant of time.

The GUID is never meant to be user facing.
Comment 6 Frank A. Krueger 2015-08-19 11:06:27 UTC
More info:

I don't know even how to lookup the profile guids. I don't know how to correlate them with what's on the provisioning portal.

Showing GUIDs is easy for YOU. But please think about people who are using this interface.
Comment 7 Jeffrey Stedfast 2015-08-19 11:16:02 UTC
Sorry, I misread time as "date", hence my confusion on this. I know GUIDs make no sense which is why I didn't want to add it, but didn't know how else I could fix this issue if the profiles were all created on the same day. To me, distinguishing between 2 profiles with the same name but minutes (or even hours) apart would not help me at all remember which one was which.

I've added a "Created" column and changed both date columns to also display the time and got rid of the GUID (which I agree is terrible).

Question: Would it make sense to only show the latest provisioning profile if multiple profiles exist with the same name and have the same distribution type (e.g. Ad-Hoc vs In-House vs AppStore vs Development)?

I think the current stable version is not very good at filtering profiles based on distribution type, so that might be why you have 2 showing up. That's something that I recently fixed when I rewrote that dialog.
Comment 8 Frank A. Krueger 2015-08-19 11:24:29 UTC
Yes, absolutely just show the latest profile!

In 5 years of doing this, I have never signed with an old profile.
Comment 9 Jeffrey Stedfast 2015-08-19 11:27:59 UTC
Okay, cool. I wasn't sure.