# tvOS package for distribution fails to find valid certificate and valid provision \[UE-39501\] \[Workaround\]

**URL:** <https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770>\
**Category:** Platform & Builds\
**Tags:** provisioning-profile, unreal-engine, certificate, bug-report, packaging-projects, question\
**Created:** [November 29, 2016, 4:50am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770 "2016-11-29T04:50:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [November 29, 2016, 4:50am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/1 "2016-11-29T04:50:27Z")

</div>

**Update** : [Here is a screencast of the whole process.][1]

**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][2].

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](http://developer.apple.com)

1. Generate `Production` certificate of type `App Store and Ad Hoc`. You can’t choose it’s name…they auto name it ``, because that’s my name. Type is set to `iOS Distribution`. I am somewhat concerned that there is nothing tvOS-specific, but there are _no_ options for App Store certificates other than this one that I selected.
2. Generate App ID on Apple’s site: Name: `Topple Town`, ID `com.agileperception.toppletown`
3. Create `Distribution` Provisioning Profile. Name: `Topple Town tvOS Distribution Profile`, Type: `tvOS Distribution`, App ID: `Topple Town (com.agileperception.toppletown)`
4. **Delete ALL certificates** from Keychain Access and **delete ALL provisions** on my Mac from `~/Library/MobileDevice/Provisioning Profiles`
5. Download the certificate from step #1. In `Project Settings > iOS` I click `Import Certificate` and select the downloaded certificate file, which succeeds (see screenshot after step 6)
6. I download the provision from step #3. I click `Import Provision` and select the downloaded file, which succeeds (see screenshot below)

 ![116726-screen+shot+2016-11-28+at+9.40.15+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/3/803985958dff592e626de4fa4f3c396f25ed62cd.png)

1. I set Bundle Display Name to `Topple Town`
2. I set Bundle Name to `toppletown`
3. I set Bundle Identifier to `com.agileperception.toppletown`
4. I select `File > Package Project > tvOS`, which causes an instant error.

## …and you get these errors

![116724-screen+shot+2016-11-28+at+9.26.27+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/1/e31456b0790ee92b20e50e399acf5f1f687f32d6.png)

Here is the full text of the output log from the session: [tvOS\_distribution\_errors\_from\_output\_log.txt][5]

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:

1. Wildcard App ID’s with corresponding Provisioning Profiles that use them.
2. Checking the boxes next to the provision and certificates
3. Upgrading to 4.14.0
4. Building 4.13.2 from source [with this additional patch][6]

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!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [December 2, 2016, 7:32pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/2 "2016-12-02T19:32:51Z")

</div>

,

Try reinstalling your certificates and provisions through the Editor, not Xcode. There is a known issue for this which isn’t fixed in 4.14.0 ([UE-38006][1]).

Thanks!

[Unreal Engine Issues and Bug Tracker (UE-38006)](https://issues.unrealengine.com/issue/UE-38006)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 2, 2016, 8:37pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/3 "2016-12-02T20:37:32Z")

</div>

, I’m very sorry but that has no effect.

I deleted all certificates from Keychain access. I deleted all provisions from ~/Library/MobileDevice/Provisioning Profiles/. I opened my project in 4.14.0. I imported the certificate and provision through the Editor. I attempted to package for tvOS on the desktop and received the same set of errors.

As a side note, please be aware that the commit linked to from UE-38006 is present in the 4.14.0-release tag in GitHub. (ie the listed patch is IN 4.14.0).

What else can I try?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [December 2, 2016, 9:55pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/4 "2016-12-02T21:55:01Z")

</div>

Have you made sure your Worldwide Developer Relations Intermediate Certification is up to date?

[[WWDR Intermediate Certificate Expiration - Support - Apple Developer](https://developer.apple.com/support/certificates/expiration/)][1]

[WWDR Intermediate Certificate Expiration - Support - Apple Developer](https://developer.apple.com/support/certificates/expiration/)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 2, 2016, 11:38pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/5 "2016-12-02T23:38:29Z")

</div>

I have never seen that before! Unfortunately, that also does not change the errors at all. Same behavior. I tried deleting all certificates and provisions, then deleting the expired WDRIC (the new one is already there), then also deleting all other expired items in Keychain, then importing the distribution certificate and provision through the editor. All that, and the exact same “not found” errors. This was all on 4.14.0.

On the bright side, it did fix [this other issue][1] I was experiencing, so I will update that answerhub post. That’s something. Now I have two machines I can try things on.

What else can I try?

[Deleted iOS Certificate blocks importing real iOS/tvOS Certificates and Provisions - Mobile - Epic Developer Community Forums](https://answers.unrealengine.com/questions/531158/deleted-ios-certificate-blocks-importing-real-iost.html)

---

<div class="post-metadata">

**Author:** ![rckt26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rckt26](https://forums.unrealengine.com/u/rckt26)\
**Post date:** [December 4, 2016, 9:02pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/6 "2016-12-04T21:02:43Z")

</div>

I get the same error on a Windows. I haven’t tried it on a mac yet. I have a valid certificate and tvOS mobileprovision profile and they both show green in the Project settings and I’m using a new blank project.

If I have the iOS mobileprovision profile present also with the same bundle identifier it tries to use the iOS profile instead of the tvOS profile and of course I get an entitlement error because it used the wrong profile.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 5, 2016, 5:30pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/7 "2016-12-05T17:30:58Z")

</div>

Glad to know it’s a cross-platform bug. Hopefully that means it will get more attention.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [December 6, 2016, 7:37pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/8 "2016-12-06T19:37:12Z")

</div>

,

I’m so happy to hear that at least one of your issues has been resolved thus far. So I ran a test today and I ran into the ‘provisions not found’ error while packaging for tvOS.

I spoke with our tvOS Specialist to ensure there wasn’t an actual issue. He then tested and did not have a problem.

I was able to resolve it by doing the following:

- Closed the Editor
- Removing my provisions from the provisioning profile
- Opened the Editor back up
- Added **only** the Provisions that I needed for tvOS
- Added **only** the certificate that would be used for tvOS
- Packaged the project for tvOS

This corrected the issue for me. I know you have double checked multiple times that you’ve used the **correct** provisions and certificates, but you might need a complete refresh.

There was some provisioning logic changed when Xcode was updated therefore, any older certificates/provisions were causing errors during packaging.

Upload new logs as you continue testing, please.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 6, 2016, 8:01pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/9 "2016-12-06T20:01:44Z")

</div>

I have deleted ALL the provisions and certificates every time. I have only been using certificates/provisions for tvOS during this process. I don’t know what you expect to change(?)

Nevertheless, I will run through the entire process again as you laid out with both 4.13.2 and 4.14.0 and attach the logs as you request. I just upgraded my workstation to macOS Sierra last night, so perhaps that will affect something as well (though my laptop is already on macOS Sierra and exhibits the same behavior).

By the way, there is only one certificate type **for distribution**. Were you testing with `production/distribution` settings? This is different than developer settings. Also, what value did you put for your App ID? Did it use a wildcard at all?

The certificate I created was the “Production: App Store and Ad Hoc” certificate, and it names itself `ios_distribution.cer` externally and `iPhone Distribution: (...)` internally, despite the fact that I’m using it for tvOS.

 ![117652-screen+shot+2016-12-06+at+12.55.48+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/7/43762adc39b414555d0b14c86dc998f821f2fcb7.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 7, 2016, 4:15am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/10 "2016-12-07T04:15:27Z")

</div>

Deleted all certificates and provisions beforehand  
macOS Sierra 10.12.1  
Xcode 8.1  
UE 4.13.2

- Distribution certificate
- Distribution provision for app id com.agileperception.toppletown

 ![117694-screen+shot+2016-12-06+at+9.12.40+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/7/0c78c00a2d67730fd4d96bee0d11e29ea2d4adf9.png)

![117695-screen+shot+2016-12-06+at+9.13.02+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/5/7a541125f4664ba056195dcd40fbb4ac2a853e9a.png)

![117696-screen+shot+2016-12-06+at+9.13.18+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/4/914412a899f8bef77a70c6f23b207f7d6f766d44.png)

 ![117697-screen+shot+2016-12-06+at+9.13.37+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/4/f848e877a1336c8bd261c2c1453a1e1d9a5331c1.png)

[link text][5]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 7, 2016, 4:26am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/11 "2016-12-07T04:26:39Z")

</div>

Deleted all certificates and provisions beforehand, macOS Sierra 10.12.1, Xcode 8.1, UE 4.13.2

- Distribution certificate
- Distribution provision for app id `*`

![117703-screen+shot+2016-12-06+at+9.19.05+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/1/001c32684effaa952d5c5b4266015837d28b93eb.png)

![117704-screen+shot+2016-12-06+at+9.19.16+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/f/3af6f3c6399912091830209a33d073a543c8c834.png)

 ![117706-screen+shot+2016-12-06+at+9.23.52+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/2/2a2a52075e5dc9acb54301ad2353be7c317643a8.png)

 ![117707-screen+shot+2016-12-06+at+9.24.08+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/2/2720acb6f7cb8a6574db7b2548c78eb07d1c2432.png)

[link text][5]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 7, 2016, 4:34am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/12 "2016-12-07T04:34:48Z")

</div>

Deleted all certificates and provisions beforehand, macOS Sierra 10.12.1, Xcode 8.1, UE **4.14.0**

- Distribution certificate
- Distribution provision for app id `com.agileperception.toppletown`

![117709-screen+shot+2016-12-06+at+9.30.10+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/b/f7b1f65ed491ad7d78849d7bb7d25ed1e0397946.png)

![117710-screen+shot+2016-12-06+at+9.30.19+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/e/7dedfd62b4ca878ea1a273a2df6b0208b44ab069.png)

 ![117711-screen+shot+2016-12-06+at+9.33.08+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/0/1b0bfd173181114434a9499e1ec3eef392f72069.png)

 ![117712-screen+shot+2016-12-06+at+9.33.22+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/5/c5541eeecb24011c34c200f386f6819517ed3a6f.png)

[link text][5]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 7, 2016, 4:40am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/13 "2016-12-07T04:40:16Z")

</div>

Deleted all certificates and provisions beforehand, macOS Sierra 10.12.1, Xcode 8.1, UE **4.14.0**

- Distribution certificate
- Distribution provision for app id `*`

![117714-screen+shot+2016-12-06+at+9.37.16+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/4/f34508453057054753417501869984f7d3c25765.png)

![117715-screen+shot+2016-12-06+at+9.37.30+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/d/58dfdb0eca0f344ab50fd69c837da45abbdc74b0.png)

 ![117717-screen+shot+2016-12-06+at+9.38.03+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/4/e54a8889e157ececcdff9a94e678e8ac741315bd.png)

 ![117718-screen+shot+2016-12-06+at+9.38.20+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/8/38812274ec9cf3559bdf08e2cd359289807f2b89.png)

[link text][5]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [December 8, 2016, 4:02pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/14 "2016-12-08T16:02:16Z")

</div>

,

Thank you for pointing out that it’s distribution having the issue. I have submitted a [UE-39501][1] to our developers for this issue. Please check our public for updates.

Thanks!

[Unreal Engine Issues and Bug Tracker (UE-39501)](https://issues.unrealengine.com/issue/UE-39501)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 8, 2016, 4:43pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/15 "2016-12-08T16:43:23Z")

</div>

Thank you!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 8, 2016, 5:10pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/16 "2016-12-08T17:10:05Z")

</div>

, first off, thanks for all your help so far!

Next, it appears that you marked my [issue regarding _development_ provisions and certificates][1] as a duplicate of this one and that the comments were locked.

1. I never received a notification email that that issue was marked as a duplicate. In addition to the comments being locked, that makes it really difficult to notice and tell you that it’s not a duplicate! Is this an AnswerHub bug?

2. It’s not a duplicate. It’s a problem with _development_ provisions, instead of _distribution_ ones.

I notice that you seem to be able to run the development profiles fine, yourself, but I can’t get it to work following those same steps.

I am really trying to get to market on the AppleTV, so these issues are really important to me. So, I’m going to wipe my hard and install macOS Sierra from scratch and reinstall programs individually without restoring from backup. At the very least, perhaps I could deploy to the AppleTV in development mode to continue QA testing.

If you would go unlock the other AnswerHub post, we could continue our conversation there.

[Valid Development Provision and Certificate ignored for tvOS [Workaround] - Platform & Builds - Epic Developer Community Forums](https://answers.unrealengine.com/questions/531717/valid-provision-and-certificate-ignored-for-tvos-o.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [December 8, 2016, 5:16pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/17 "2016-12-08T17:16:10Z")

</div>

Thanks for pointing that out, it’s very easy to believe questions are duplicates when they’re so similar. I’m opening it back up. Please reply back to it when you’ve done the checks on your end to try and resolve the issue.

I’ll post the steps on that one too, in case anyone else runs across it. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2bfba907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2bfba907](https://forums.unrealengine.com/u/anonymous_user_2bfba907)\
**Post date:** [December 9, 2016, 6:32am UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/18 "2016-12-09T06:32:57Z")

</div>

,

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,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 9, 2016, 5:11pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/19 "2016-12-09T17:11:04Z")

</div>

I am happy to (re)try anything that could possibly get it working again. Thanks for the suggestion.

Checking the boxes of my distribution certificate and a distribution provision with a **specific app id** doesn’t appear to have any effect.

I’m on UE 4.14.1 now, with a from-scratch installation of macOS Sierra, and I revoked/deleted all my production certificates/provisions and recreated them from scratch just a moment ago.

![118054-screen+shot+2016-12-09+at+10.07.18+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/4/874bdbcb7ebc6ef7a11a49fa344d486143969c40.png)

![118055-screen+shot+2016-12-09+at+10.07.23+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/c/8cc8acb2fd8861ca5a76c8ea0a918ef32091bfbe.png)

 ![118056-screen+shot+2016-12-09+at+10.07.32+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/3/b634ba7c463d19f5789a2d55be20da673b38f889.png)

 ![118057-screen+shot+2016-12-09+at+10.08.08+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/4/7145c67d61524413c651221c2a8636578184a250.png)

[output log file for distribution cert plus specific app id provision][5]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [December 9, 2016, 5:20pm UTC](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770/20 "2016-12-09T17:20:23Z")

</div>

UE 4.14.1, Xcode 8.1, fresh macOS Sierra.

Checking the boxes of my distribution certificate and a distribution provision with a **wildcard app id** also doesn’t appear to have any effect.

 ![118059-screen+shot+2016-12-09+at+10.17.59+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/d/3bdc56ad52b9dbf7732792c2b6f93fc1f7bcb7a4.png)

![118060-screen+shot+2016-12-09+at+10.18.07+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/7/4078328913032df9134133c4ac093a6b09c06d63.png)

 ![118071-screen+shot+2016-12-09+at+10.18.16+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/2857e48dad330fcaa052d06bd0bf96cb39fe3b07.png)

 ![118072-screen+shot+2016-12-09+at+10.18.31+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/3/3b317c767349a5b4649c27e12ddc3bc99e8ce91f.png)

[output log file for distribution cert plus wildcard app id provision][5]

[Next page](https://forums.unrealengine.com/t/tvos-package-for-distribution-fails-to-find-valid-certificate-and-valid-provision-ue-39501-workaround/377770.md?page=2)
