Hi I have very strange problem. My Today Widget works perfectly fine in Simulator, however when I choose to run it on real device and select 'Today' application xCode just says 'Running Today on XXX's iPhone' but on that device there is no widget. I checked in Do Not Include section and it's not there either.
I've searched a lot and most of the people has three type of problems:
So any advice will be highly appreciated? I've tried clean project, removing it from device restarting xCode... I'm working with xCode 6.2 and tried on iPhone 5(iOS 8.2) and iPhone 6+(8.2)
UPDATE
Updating devices to iOS 8.3 hence the xCode to 6.3 seems to resolve the problem. However I'm worried if it'll work on other iOS 8.2 devices.
SOLUTION
As @gaRik pointed my widget deployment target was set to 8.3 which caused widget to fail on 8.2 devices.
If nothing above works out, then in Simulator menu , go to Devices and click on Restart . This restarts the device itself. Now go back to your terminal (where you're running expo) and press i (for ios simulator) and it should open up the app again.
To launch a Simulator without running an appChoose Xcode > Open Developer Tool > Simulator. Control-click the Xcode icon in the Dock, and from the shortcut menu, choose Open Developer Tool > Simulator.
How do I get the watch simulator to appear when I select an iPhone simulator in Device? In the Devices window under Simulators, select an iPhone 5 and later simulator. Under the Paired Watches table, click the Add button (+).
Check Widget target(Build Settings -> iOS Deployment Target(must be less or equal as iOS version on your device))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With