A valid provisioning profile for this executable was not found - 0xe8008015

Hello,


A member of our team upgraded his device to iOS 9 this morning. He had the App Store version of our App installed, and after upgrading he could not launch the App. It crashed whenever he tried to launch it.


We connected the device to Xcode and discovered the problem: iOS was killing the App because it was missing a valid provisioning profile. On the console these lines appeared everytime we tried to launch the App:


Sep 17 11:18:27 [DEVICE_NAME] amfid[261] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Sep 17 11:18:27 [DEVICE_NAME] amfid[261] <Error>: /private/var/mobile/Containers/Bundle/Application/[PATH_TO_APP]/[BUNDLE_NAME] not valid: 0xe8008015: A valid provisioning profile for this executable was not found.
Sep 17 11:18:27 [DEVICE_NAME] com.apple.xpc.launchd[1] (UIKitApplication:[BUNDLE_ID][0xd56a][356]) <Notice>: Service exited due to signal: Killed: 9
Sep 17 11:18:27 [DEVICE_NAME] assertiond[67] <Warning>: Unable to obtain a task name port right for pid 356: (os/kern) failure (5)
Sep 17 11:18:27 [DEVICE_NAME] SpringBoard[58] <Warning>: Unable to register for exec notifications: No such process
Sep 17 11:18:27 [DEVICE_NAME] SpringBoard[58] <Warning>: Unable to obtain a task name port right for pid 356: (os/kern) failure (5)
Sep 17 11:18:27 [DEVICE_NAME] SpringBoard[58] <Warning>: Unable to obtain a task name port right for <FBApplicationProcess: 0x14be32300; [BUNDLE_ID]; pid: 356>
Sep 17 11:18:27 [DEVICE_NAME] SpringBoard[58] <Warning>: Application 'UIKitApplication:[BUNDLE_ID][0xd56a]' exited abnormally via signal.
Sep 17 11:18:27 [DEVICE_NAME] locationd[64] <Notice>: Gesture EnabledForTopClient: 1 (SiriCalled)
Sep 17 11:18:27 [DEVICE_NAME] SpringBoard[58] <Warning>: Application '(null)' exited for an unknown reason.


With this being the important bit (I think):

[BUNDLE_NAME] not valid: 0xe8008015: A valid provisioning profile for this executable was not found.


(Note: the line's above were edited to remove personal information and our App's bundle ID)


Installing the App (through the App Store) on devices running iOS 9 did not result in this problem.

The device were this happened is an iPhone 6 that doesn't seem to have this problem with any other App (at least with the dozen or so we tried). Reinstalling our App from the App Store solved the issue.


Because the App isn't really crashing we don't get any reports from our crash reporting tool. This could be happening to 1 person or a thousand, we can't know until (and IF) they reach our customer support team.


We have not been able to reproduce this issue, and we could only try two times by upgrading two of our test devices. It's not easy to go back to iOS 8 so we can't test multiple times.


I've already requested technical support from Apple.


Has anybody else experience something similar with iOS 9 or past upgrades?


Additional info: he upgraded from iOS 8, he didn't use any of the iOS 9 betas. He had a fully functional App under iOS 8 (he uses it daily).


Regards,

Happened for our app as well, same log output too, iPad 2 on 8.4.1 -> 9.0

We too are experiencing a similar issue on our two apps, with at least one device (an iPad mini), upon upgrade from iOS 8.x to iOS 9.0.


Same error.

Same conditions (failed when pre-installed, worked when freshly installed from app store).

Same lack of crash report.

Same frustration with the one-shot nature of reproduction of the issue.


Please keep us informed of any developments or resolutions.


Our current mitigation plan is to release a new build built against the latest SDK and just hope that people will upgrade and hope that this fixes the issue... there seems little else we can do but hope.

We are also facing a similar kind of issue. Same logs, same scenario. Has anybody found a solution?

I had a beta tester who was having this exact same thing occur. They ended up un-installing the testflight app, then re-installing the testflight app. After that they installed the beta build again and it started just fine. I don't know if this will work for anyone else but wanted to offer it as something to try.

Exactly same problem here. Does anyone have a solution?

A valid provisioning profile for this executable was not found - 0xe8008015
 
 
Q