Our app crashes with this message in the device logs:
Jun 24 17:05:38 NEVERBENDEASY amfid[185] <Error>: /private/var/mobile/Containers/Bundle/Application/3BE76DE6-DBB3-4640-BD67-6115466B58F8/Spitfire Athlete.app/Spitfire Athlete not valid: 0xe8008015: A valid provisioning profile for this executable was not found.
Jun 24 17:05:38 NEVERBENDEASY kernel[0] <Notice>: AMFI: hook..execve() killing pid 696: no code signature
Jun 24 17:05:38 NEVERBENDEASY kernel[0] <Notice>: Sandbox: hook..execve() killing pid 696: application requires container but none set
Jun 24 17:05:38 NEVERBENDEASY com.apple.xpc.launchd[1] (UIKitApplication:com.neverbendeasy.Spitfire-Athlete[0x9b2a][696]) <Notice>: Service exited due to signal: Killed: 9
However, this only happens on one of our test devices, an iPhone 5s running iOS 8.3. The same app runs without crashing and without this error message on a different device. also running iOS 8.3. I can only reproduce it on one of our devices.
I have tried regenerating our provisioning profiles as well as deleteing the device in member center and re-adding it, but this does not resolve the issue.
More info: This crash happens when we initiate facebook login for our app. Our app will install and launch on the device, with no errors. It's only when we leave the app to enter the facebook login flow and try to reopen our app after authenticating with facebook that it crashes, with this message.
Has anyone seen this error before and resolved it?