I want to be able to deploy using Testflight which currently tells me that my provisioning profile has EXPIRED.
XCode 6.1 seems to automatically generates provisioning profiles that look like this:
e.g. XC: * and XC: bundle.identifier.
And these don't seem to contain any devices, despite my UDID being setup against my team.
When I try to send an app to iTunes Connect (hoping to begin to use Testflight) it has hardcoded this provisioning profile:
This is all well and good but Testflight is telling me that my app's provisioning profile has EXPIRED.
I thought that perhaps I could fix this with my own Adhoc provisioning profile, and so I created one:
And I made sure that it was setup to use this for the Release profile:
But I still see the same provisioning profile is being picked on submission:
I've also tried:
I seem to have no control over (1) which provisioning profile is selected on an iTunes Connect validation/submission, and (2) no ability to place devices against one of the automatically generated XC provisioning profiles.
How can I fix this?
I want to be able to deploy using Testflight.
Edit
There were two problems:
The reason that the build was appearing as EXPIRED on Testflight was that I needed to alter the language of my device to "English (UK)", presumably so that it matches the builds... See this person with a similar issue.
The reason for the crash looks like a bug in XCode 6.1 with Release compilations of Swift code. I had to change the optimization level as this person had to do in order to have a binary that doesn't crash.