I have an app installed on an IPad Air via Xcode. For several weeks the application worked fine. Suddenly anytime I opened the app it would immediately crash. The loading screen would appear for a split second and the user would be returned to the home screen. I went and deleted the app, reinstalled it and everything worked fine again. Several weeks later the app kept crashing again. This time I investigated the device logs and found this whenever the app was opened.
Aug 4 22:40:47 iPad amfid[240] <Notice>: MIS: entitlement 'application-identifier' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: coolApp.Company'
Aug 4 22:40:47 iPad amfid[240] <Error>: /private/var/containers/Bundle/Application/AAB98943-4336-4E23-8BA6-D785B327DBB5/Company.app/Company not valid: 0xe8008016: The executable was signed with invalid entitlements.
What I'm curious is why did the app work for several weeks then randomly start breaking. The device logs show no crashes. Any help as to why the app closes immediately every time it is opened and how to fix it would be great! Thanks!