DEV Community

lichuange
lichuange

Posted on

Instruments15.3(From XCode15.4)Can't find source code for selected symbol

Recently i have meet the issue that Can't find source code for selected symbol in XCode instruments with version 15.3.

My environment:
Mac: MacBook Pro(Apple M3 Pro), MacOS Sonoma Version 14.2.1
XCode: 15.4
Instrument: 15.3 within the Xcode

The problem is showed as below

If choose Recording Mode with Last

Image description

there will be the issue 'Can't find source code for selected symbol',

Image description

and the paths of system frameworks are located at '/System/Library/PrivateFrameworks/...' which are for MacOS not for iOS.

Image description

Some tries to solve the problem

If choose Recording Mode with Deferred,

Image description

symbols can be resolved and the frameworks paths are all correct at '/Users/xxx/Library/Developer/Xcode/iOS DeviceSupport/iPhone13,2 17.5.1 (21F90)/Symbols/System/Library/PrivateFrameworks/...'.

Image description

As result, I think this is a bug of XCode instruments, expecting fixed in the following version.

Top comments (0)