Cannot get Xcode 15 structured logging to work

My problem is similar to this post but switching to an iOS 17 simulator does not fix the issue.

As far as I know there should be no OS_ACTIVITY_DT_MODE set anywhere in my project but I'm not sure exactly where to check.

I've tried in Beta 6 and 7 so far and I've set all of my minimums to iOS 17.

Replies

Cannot get Xcode 15 structured logging to work

If you create a new test project from one of the built-in templates, does the problem reproduce there?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Hi Quinn. No that works fine. It seems that it's broken for projects that were created with an Xcode version < 15.

Add a Comment

I figured out for my specific project (created pre-Xcode 15) that in the run scheme, there was an environmental variable set OS_ACTIVITY_MODE set to "disable." I changed it to "enable" and the messages started to appear.

  • Yay!

  • I inspected the .xcscheme file of my Xcode 14 project in question and did not see any key named OS_ACTIVITY_MODE.

Add a Comment