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,