0

My apple watch complication (widgetKit) is blank when the watch is locked. Don't know where to search for the issue so I don't know what code to provide. Timeline Provider or SwiftUI View?

Jonas Lang
  • 213
  • 1
  • 2
  • 12
  • Is the timeline provider getting called? Add Logger and log and view in console. Are you using `.privacySensitive(true)`? – user1046037 Mar 02 '23 at 06:41
  • I am not using `.privacySensitive(true)`. Can I see the widget extension console outputs in the normal console? – Jonas Lang Mar 02 '23 at 21:00
  • 1
    Breakpoints will work Refer to https://stackoverflow.com/a/74145087/1046037 explains how to attach the debugger to the widget process. Keep in mind that widget runs as a separate process (even when the app is not open). For logging you need to use Logger and view logs in the Console app (not Xcode console), otherwise use breakpoints using the above link. – user1046037 Mar 03 '23 at 03:26

0 Answers0