Today the widget does not start on the device (works on Simulator)

Hi, I have a very strange problem. My Today Widget works fine in Simulator, however, when I decided to launch it on a real device and select the Today application, xCode simply says β€œLaunch Today on XXX iPhone”, but there is no widget on this device. I checked the Do Not Include section, and it does not exist either.

I searched a lot and most people have three types of problems:

  • There is no 64-bit architecture. My configuration: enter image description here
  • Various application prefix and extensions are mine exactly the same (of course, with the addition of .TodayWidget for the widget)
  • Some internal crash in widgets - however, when this happens, you can see at least the widget title. In addition, my widget works great in a simulator.

So any advice would be highly appreciated? I tried to clear the project by removing it from restarting the xCode device ... I work with xCode 6.2 and tried on iPhone 5 (iOS 8.2) and iPhone 6+ (8.2)

UPDATE

Updating devices to iOS 8.3, therefore, xCode to 6.3 seems to solve the problem. However, I worry if it will work on other iOS 8.2 devices.

DECISION

As pointed out by @gaRik, my widget deployment goal was set to 8.3, which is why the widget failed on 8.2 devices.

+5
source share
1 answer

Check widget target (Build Settings β†’ iOS Deployment Goal (must be less than or equal to the iOS version on your device))

+9
source

All Articles