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.

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay