Today widget fails to load after manually installing an Ad Hoc build
| Originator: | robotspacer | ||
| Number: | rdar://23932708 | Date Originated: | 16-Dec-2015 10:21 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 9.2 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Whenever I install an update to my app the old fashioned way, via Xcode, the Today widget stops working. It will continue to display whatever was last displayed there, or may be empty in some cases. The problem is not resolved until the device is restarted. This issue seems to be specific to manually updating an app through Xcode over USB—it's not an issue with TestFlight. Since I have a Mac app and use CloudKit, simply using TestFlight isn't an option (rdar://19793488)—I have to restart multiple test devices multiple times a day. Steps to Reproduce: 1. Install an app on a device that includes a Today widget. 2. Make sure that Today widget is active and displaying in notification center. (I don't think the bug will trigger unless the old version of the widget is displayed once.) 3. Close Notification Center 4. Open the Xcode Devices window 5. Connect the device via USB 6. Select the device in the Devices window 7. Drag an .ipa to the device's list of applications to install it—this can even be the same build that's already installed. 8. Open Notification Center. Expected Results: The newly installed Today widget should load successfully. Actual Results: It will continue to display whatever was last displayed there, or may be empty in some cases. Version: iOS 9.2, though this has been happening since 8.0 (12A365) Notes: I'm attaching a log of what the console spits out after opening Notification Center with the new build installed. It seems to be aware there's a new version of the app installed, but then fails to load the storyboard and throws an exception. The crash report from that is also included. Configuration: iPhone 6s, AT&T, 128GB, and several other devices Attachments: 'Archive.zip' was successfully uploaded.
Comments
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!