tvOS package for distribution fails to find valid certificate and valid provision [UE-39501] [Workaround]
Update 2: Discovered a workaround. Scroll down to the "accepted answer" at the bottom of the page.
tvOS distribution packaging is not working at all for me. I managed to workaround the development packaging issues through the patch + workaround in this answerhub post I started in October.
Now I need to package for distribution, and I am having no luck.
My app is named "Topple Town". The certificate(s), app id(s), and provision(s) are all brand-new, made just for this app. I will list the various things that I have tried thus far.
HERE IS EXACTLY WHAT I HAVE TRIED
This is on a Mac Pro (Late 2013), 10.11.6, Xcode 8.1
All of the certificate/id/provision stuff is done using the web gui of Apple's "Certificates, Identifiers & Profiles" section of developer.apple.com
Here is the full text of the output log from the session: tvOS_distribution_errors_from_output_log.txt
You can see the certificate and provision getting imported on lines 271-275. Everything after that is from trying to make the package.
So what now?
I have also tried the following variations:
Nothing I have tried so far has so much as changed the error message that I get.
Tell me what I should try, and I will dutifully try it! I just want to get my project onto the app store for tvOS!
tvOS Distribution Package PARTIAL Workaround (4.14)
Thanks to @rckt26 for the key information leading to this workaround!
It looks like this:
For DISTRIBUTION you then need to do the additional steps:
And that's as far as this workaround gets you. There are at least 5 more bugs which I cannot yet work around:
You get a little farther on the unreleased 4.15 branch
Thank you for pointing out that it's distribution having the issue. I have submitted a JIRA UE-39501 to our developers for this issue. Please check our public Jira for updates.
answered Dec 08 '16 at 04:02 PM
This suggestion may seem obvious and something you may have tried already but I was getting a slightly different error than yours when I didn't check the box for the provision and certificate in the project settings.
Best of luck, Omar
answered Dec 09 '16 at 06:32 AM
After further investigation from our specialist, it is coming down to the provision and the certificates not matching properly. For instance, when your development provision is added to the engine, it says there aren't any valid certificate. Your wildcard was imported during this test. I noticed that I wasn't seeing them pop up at all, and it was because it was invalid and I had to hit the 'all' button. I did run into the error that you described on the distribution provisions however, it still seems to point to the provisions and certificates not matching up correctly or being created correctly.
I know you've went through the set up process multiple times but I am going to provide additional documentation.
I hope that this helps. You might want to contact Apple Developer Support if you're still not able to get the provisions and certificates to match up like they should.
Let me know!
answered Dec 15 '16 at 04:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here