Post

Replies

Boosts

Views

Activity

Comment on Error when running Live Activities
Okay, I found a way to use debug print in a Live Activity. You can need the Console.app on Mac OS and use the Logger struct in the os framework. import os let logger = Logger(OSLog(subsystem: "com.yourapp.identifier", category: "General")) logger.info("Your message to print in Console.app"
Replies
Boosts
Views
Activity
Mar ’25