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

后端 未结 7 1474
陌清茗
陌清茗 2021-02-15 10:55

I want to debug a today view extension (widget) in iOS 8, so I select the widget under \"Scheme\" in Xcode, and select my iPhone as the device and hit run. It says \"running tod

相关标签:
7条回答
  • 2021-02-15 11:03
    1. Delete the app from your phone
    2. Run the today widget scheme

    It worked for me.

    0 讨论(0)
  • 2021-02-15 11:04

    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).

    0 讨论(0)
  • 2021-02-15 11:07

    Close the notification window. It should start working.

    0 讨论(0)
  • 2021-02-15 11:09

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

    0 讨论(0)
  • 2021-02-15 11:12

    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.

    0 讨论(0)
  • 2021-02-15 11:15

    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.

    0 讨论(0)
提交回复
热议问题