Search code examples
xcodeios8-extensionios8-today-widget

XCode 6.1.1 - Today extension debug


I have installed new XCode and now I have problem debugging my todays extension (in simulator or device - not working in both of them). Steps from Apple documentation are not working, extension is always hanging on "Waiting to attach". I have also tried this: How to debug iOS 8 extensions with NSLog?, but also with no luck.


Solution

  • I have found some kind of a solution for device.

    • Before running and extension, I lock my device to lock screen
    • Run extension
    • Attach it to today process
    • Do not unlock device, just scroll down extension sceen It should attach to XCode

    For me this worked in 80% of cases, If not, lock device again and wait a little :-), then try again