I am trying to find out why my Widget does not reload.
I want to print entries
array from inside func getTimeline
to the console.
However the print statements do not appear in the console.
How to make print statements appear in the console?
I am trying to find out why my Widget does not reload.
I want to print entries
array from inside func getTimeline
to the console.
However the print statements do not appear in the console.
How to make print statements appear in the console?
You will need to run the widget for that, instead of the main target.
In Xcode, on the top bar, click on the name of the project, then select your widget extension.
Your breakpoints will now work, and your print statements will now appear in the console.
© 2022 - 2025 — McMap. All rights reserved.
func getTimeline
, it does not appear in the console. – Pinter