iOS 8 Today Extension Widget only appears on iPhone after rebooting - ios

I have created a working iOS8 app extension widget for my app. In the simulator it appears by pulling down Notification Center and clicking edit and adding the widget, however if I compile my app to my iPhone 5S, the widget does not appear in the Notification Center today view until I after I reboot. Each time I compile to my phone I have to reboot again before seeing my widget and re-add it. After rebooting my phone the widget always shows up as expected but before rebooting it is like it does not exist.
Does anybody know why this might be happening? It sure is tedious rebooting after each compile.

This is a known issue in Beta 4 and hopefully will be addressed soon.
After updating a previously installed Today extension, the extension
may no longer launch. (17241004)
Workaround: Reboot the iOS device. (source)

Related

Widget in the app not appearing in the device?

We have a problem with adding the widget to the screen.
Our app has 2 widgets and app is live in AppStore.
The problem that some users can see only 1 widget (randomly, and using the newest version of the app), some see both widgets. It is hard to debug as I see both widgets on my device.
Happened on iPhone 6S iOS 14, iPhone 11 iOS 14. I guess there are more users as well who can't see these widgets.
Any known issues?
So I found the reason, so in future, if anyone has the same issues, might help:
Apple for today has some bugs related to the WidgetKit. If you want to see the widget in the widget menu, you must first open the app (after updating or installing) and then put the app to the background or kill the app
Now you are able to see the widget in the widget menu

iOS widget not working on few iPhone5S

We are facing very weird issue. We have implemented the iOS8 widget and its working fine with iPhone5, iPhone5C, iPhone6 but it's not working with iPhone5S. Sometime its working with iOS 8.2 and sometimes it suddenly stop working. I am not able to figure out the exact cause.
Widget is showing only app icon & app name and doesn't show any widget content.
We set the architecture to arm64 as well but doesn't help.
Please let us know if you have any idea to resolve this issue or some faced the same issue.
If an extension takes too much time to load at start then it won't show up and would show as crash in device logs. Check device logs.
Also recheck if you are setting the widget height properly.

Today Extension widget freezes when the main app is updated

I am suffering from Today Extension freezing issue when the main app is updated. In detail, I recently found that Today Extension freezes after updating the main app from Crashlytics Beta service. After that, all of touchable things like a button does not work. I tried to reinstall the widget by setting menu supported by Today but failed.
The only way to solve this symptom is rebooting iPhone device. You know, however, this is not proper solution.
What makes the widget freeze after updating a main app?

today widget icon not display

After I delete my app without removing the today widget in the Today area of Notification Center, I rerun the app, the today widget is there but without the icon. I could make it display after remove it and add it again or relaunch my iPhone. Is that a bug of iOS?
As long as you have all of your icons included in Xcode, it sounds like a bug with iOS. Apps installed from Xcode sometimes install differently than apps installed from the App Store. I wouldn't worry about it.
1.Remove app when widget is enable.
2.Install your app again.
3.In Some iOS Version has a higher risk of widget icon is gone.
Do test in different Version
It is ok: iOS 8.0.2、iOS 9.0 and later
Has Problem version: iOS 8.4.1、 iOS 8.3
(maybe in 8.1.1 ~ 8.4.1 has problem)

Xcode 4.3.2, issue with running on simulator

I have been having this weird problem with Xcode 4.3.2, of course after the recent update.
After successfully building and running on the simulator several times, xcode seems to not be able to connect to the simulator and can't even stop the project; it's like the simulator does not exist. I have tried:
Stopping the project – doesn't work.
Quitting the simulator – doesn't work, xcode still shows it's running on the simulator even when I quit the simulator.
Cleaning the project – doesn't work.
I have to force quit xcode to get it communicate with the simulator. Nothing else works. It gets quite frustrating to do it every half an hour. This only started with 4.3.2.
I always stop before building and running, so it is not an issue of simulator/xcode getting thrashed by me.
Any suggestions?
I have found by chance, it is not a solution by any means -
When xcode hangs, saying it is running the app, but nothing is on simulator, opening the simulator from the dock by clicking on the dock icon (not using command+tab) seems to work.
It is very weird,but it works; atelast till xcode fixes it.
I had the same damn issue on XCode 4.5.1, but I resolved it just now.
When the program is running, it gets compiled but doesn't show anything on the simulator. just click on iOS Simulator icon in dock in order to bring it to front. Click iOS Simulator on top left -> Reset content and settings -> then force quit the iOS Simulator and run the program again. !!
Besides a restart, there is one other way I've managed to get around this:
Let's say your app hangs, go to the targets selector in the top of the Xcode window and change your sim target to a new SDK (or if you don't have another SDK, change it to a universal app and run on the opposite device simulator).
Then, when your app loads on the new device/OS completely, quit the sim, change your targets back, et voilà!
Uninstall application from Simulator and again run. Then it will works fine :)
This has frustrated me for -years- now but stumbled across what appears to get things going again for me:
Hide the simulator (iOS Simulator -> Hide iOS Simulator) or Cmd-H, then reopen the simulator.
The problem seems to happen when something CPU intensive is happening in the background (like a Time Machine backup) on my old 2 core MacBook.
Xcode 4.6.3 update (June 13, 2013) resolves the following issue:
Hang when debugging in iOS Simulator on OS X 10.8.4. 13722320
https://developer.apple.com/library/mac/#releasenotes/DeveloperTools/RN-Xcode/
You can try to update your Xcode to see if that works for you..

Resources