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

后端 未结 7 1500
陌清茗
陌清茗 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: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.

提交回复
热议问题