Xcode 15 OSLog "Jump to source" not working inside Package

Hi.

I want to use OSLog. It is working as expected inside my controller. I can view all details in the console and can use "jump to source" and it jumps to the source code :) NICE

If I call this inside a package in side a static func like this

Package Example:

import OSLog

class A {
   static func testLog(meesage: String) {
      Logger(subsystem: "Test", category: "console").info("\(message)")
    }
}

I can the message inside the console but "Jump to soure" is not working. Only a ? appears on screen.

Did I miss anything ?

I’m not sure what’s going on here but, given that this is a new feature and you can reproduce the problem trivially, I recommend that you file a bug about it.

Please post your bug number, just for the record.

Share and Enjoy

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

The same issue here and reported as FB13543286

Not only a package, but also a framework target is having the same issue.

Hello,

Thank you for reporting those issues. I wonder why there is so many debugging / logging features that are broken ... OS Log Store is also partially broken on iOS.

It is very difficult to rely on Unified Logging to properly log application behaviors.

Please do something !

Xcode 15 OSLog "Jump to source" not working inside Package
 
 
Q