App Crashes with Expired Provisioning Profile

Originator:davidq
Number:rdar://21311245 Date Originated:09-Jun-2015 04:27 PM
Status:Open Resolved:
Product:iOS Product Version:
Classification:Bug Reproducible:Yes
 
This is a duplicate of rdar://20807572

Summary:

I maintain a simple app where I work that we distribute with an Enterprise Provisioning profile. Last week it started crashing on launch. No error message or any other information. Just wouldn't start. Today I plugged my phone into Xcode to look at the logs, where I found the problem: Our enterprise provisioning profile had expired.



It would be super helpful if a useful error message could be displayed in such a situation. A simple message to the effect that the provisioning profile has expired would be sufficient.



Otherwise, I don't suppose there's a way to create a profile that lasts any longer than a year, is there?



Steps to Reproduce:

* Archive an app with an expired enterprise provisioning profile.

* Install it on your iOS device

* Launch it



Expected Results:

The app refuses to launch, provides an error message explaining to the user why it won't launch.



Actual Results:

The app start screen appears then disappears with no explanation. It looks like a serious startup crash.



Version:

iOS 8.x



Notes:





Configuration:

iPhone, iPad



Attachments:

Comments

Apple Developer Relations 23-Jun-2015 10:10 PM

Engineering has determined that your bug report is a duplicate of another issue and will be closed.

The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.

Duplicate of 20807572 (Open)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!