My todayWidget was developed for iOS 8 (and worked on it) and was very simple todayWidget, which only retrieves data from the server in the widgetPerformUpdateWithCompletionHandler method and prints it.
When I upgraded my project from Xcode7 to Xcode8 and tested my TodayWidget on iOS8 and 10 devices and a simulator, I got strange behavior.
When I run the TodayWidget target, Xcode will work successfully, and then I got

He tells me that he did not run the extension, but "com.apple.springboard"
It is strange that when I delete my application, the widget today disappears from the widget selection screen. Then I launch the extension target, the application installs successfully, I got "run com.apple.springboard", my widget appears on the widget selection screen, but when I move it to the left or right columns, it does not appear on my widget screen, and the extension not listed in the Attach Process list in Xcode.
When I launch the target and go to the debug tab of the navigation in Xcode, it only tells me “wait to attach” and nothing is attached to it.
I downloaded the previous version of Xcode (since I thought it was due to the fact that I updated Xcode from 7 to 8), but the problem seems to be appearing every time now.
The purpose of my deployment is set to iOS8.
and my circuit seems correct.
.
- ?