• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1


  • Subject: Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
  • From: じょいすじょん <email@hidden>
  • Date: Mon, 11 Jul 2016 01:14:00 +0900

This is not flaming, just caveats.

I would recommend in general against using 3rd party plugins in Xcode.
They're not supported.
They can and will break.

Apple's developer support cannot support you when you use those things.

It is also incredibly risky.
You should worry deeply that 3rd party plugins might be tainted with malware or might be tainting your code with malware. 

If you are having issues with Xcode you should be filing bugs and ostensibly using DTS incidents for support.
If there is functionality you want or need, filing bugs is the only way that is going to ever be known.
Apple doesn't always give informative responses to those, but they really do read them and care about receiving them.
They almost certainly have a mountain of competing priorities to weigh, but they do want good inputs via bug reporter.

On Jul 11, 2016, at 12:34 AM, Alex Zavatone <email@hidden> wrote:

For any of you who run into the endless joy of archiving and exporting IPAs using Xcode 7.3.1 and occasionally run into Xcode displaying that it us using the wrong provisioning profile or you can't tell what provisioning profile it is using, I have some very useful information for you.

1. If you can't tell which provisioning profile Xcode is using because it clips the file name off, there is a hidden drag bar to the left and above of the provisioning profile name that you can use to drag to the left so you can see the whole file name of the provisioning profile that Xcode THINKS it is using.  (Minimal user interfaces suck when you aren't shown elements like this.)

2. Xcode very often lies about the provisioning profile it is using to code sign your app.

Seriously.

I was exporting an app for submission many times last week for ad hoc distribution and for submission to the App Store and every time, Xcode said that it was using the wild card provisioning profile.

I switched to "use local signing assets" and one at a time, I removed the provisioning profile and exported and each time, Xcode still said that it was using the wild card provisioning profile.

Luckily, I didn't empty the trash.

What I did do was install the Provisioning Spotlight plugin that is able to look into the provisioning profile and tell you which one it is.  

THIS PLUGIN IS INVALUABLE IF YOU HAVE ISSUES WITH PROVISIONING.

https://github.com/chockenberry/Provisioning


What I found out was that while Xcode tells you it is going to be using a certain provisioning profile to code sign your app, it's most likely lying to you.  

Sometimes.

What I learned to do is click on the little arrow to show the provisioning profile it is using in the Finder and then use the above Spotlight plugin to show the internals of the provisioning profile to make sure it is the correct one.

I've got screenshots showing Xcode displaying that it's going to be using one provisioning profile, and then signing the IPA with another - one that did not work after we distributed the IPA to our team because it was the wrong provisioning profile.

This is a ROYAL pain if Xcode uses a wild card provisioning profile (instead of the one you told it to and it said it was applying) when testing push notification, because your team essentially ends up wasting 2 hours diagnosing why push doesn't work for your IPA.  

It also is a royal pain when you make new distribution profiles and include new devices, you install the profile and Xcode says that it is using the profile and then it uses another one and your team can't install your IPA.


★ The big issue here is when archiving and exporting an IPA, DON'T TRUST THAT XCODE IS USING THE PROVISIONING PROFILE THAT IT SHOWS IT IS USING IN THE EXPORT SCREENS.  

★ Click the arrow to display the provisioning profile file on disk, then use the Provisioning Spotlight plugin to make sure it is using the one you told it to.


We burned through way too much time and I had to pull a 44 hour stretch last week and because Xcode 7.3.1 was not telling us it was code signing with the correct provisioning profile and/or was applying the wrong profile.  I've got screenshots that verify this.

I hope that this information - and the means to manage it - is of use to anyone else who may run in to massive time sucker.

And considering the amount of time I spent last week making up for this - and Saturday - there is no way I have the time or patience to spend more of my time entering this as a bug.

I am more than happy to share the screenshots if anyone wants.

Happy Sunday.

- Alex Zavatone


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
      • From: Alex Zavatone <email@hidden>
    • Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
      • From: Alex Zavatone <email@hidden>
References: 
 >A little invaluable insight on IPA provisioning hell in Xcode 7.3.1 (From: Alex Zavatone <email@hidden>)

  • Prev by Date: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
  • Next by Date: Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
  • Previous by thread: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
  • Next by thread: Re: A little invaluable insight on IPA provisioning hell in Xcode 7.3.1
  • Index(es):
    • Date
    • Thread