I'm trying to distribute a simple today widget with an ad-hoc profile.
The widget works flawlessly when invoked from XCode in debug mode, but appears empty when the ad-hoc app is installed on the device.
I've asserted that
the widget appears in the notification center, with its title, but with zero height.
Any clues? Thanks.
UPDATE:
the widget is actually executed (loadView, viewDidAppear, ...) but crashes. Given that its almost empty, and it works in debug mode, it's pretty strange. The crashreport has no useful info.
UPDATE 2:
Adding an MKMapView to the controller's view makes it crash. Pretty strange.
It seems the widget crashes due to memory pressure. MKMapView is known to be memory hungry.