iOS 8 beta 5 Today view extension (widget) stuck at Waiting to Attach

◇◆丶佛笑我妖孽 提交于 2019-12-03 12:44:24

Do not stop & start the debugger while notification windows is open in the simulator. Close the notification window. Stop the debugger. Start it again. Debugging widget in iOS8 is very delicate. You need to do everything in a slow non-agressive way (for now).

  1. Edit the extension scheme and make sure that under Run, the Executable option is set to Ask on Launch.
  2. Run the extension scheme.
  3. From the list, select the Today executable.
  4. It should launch the Today app and your extension should be attached to the debugger now.

Close the notification window. It should start working.

I've been able to debug my Today view extensions in this way.

1) Make sure the notification center is dismissed.

2) Stop every process in Xcode with the stop button.

3) Run the extension scheme

4) Pull down the notification center and should hear the usual "app launched" sound from Xcode

5) Debugger will be attached automatically and you'll be able to debug the extension.

Let me know if this works for you.

This happened to me .... Looks like you were doing everything right .... try all the above. The problem went away when I unplugged and re-plugged in my Phone.

Sometimes click on the widget will fire the running of extension.

  1. Delete the app from your phone
  2. Run the today widget scheme

It worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!