Our team found working solution:
Run in Terminal
nano ~/.lldbinit
Type and save:
settings set target.experimental.swift-enable-cxx-interop false
Restart lldb-rpc-server process
Post
Replies
Boosts
Views
Activity
I think there is a bug in Xcode. Normally lldb can get symbols from binary with DWARF. dSYM is not required.
After spending several hours profiling lldb, I have identified the reason behind the high CPU usage and slow app launch and breakpoints. It turns out that a custom xcconfig file was disabling dSYM for the Debug build. However, once I restored the dSYM in the Derived Data Xcode, both lldb and our app started up quickly again.
Hello! We are currently working on a large project consisting of 3.97 million lines of code, with 1.3 million lines in Swift, 1.5 million lines in Objective-C, and several files in other languages. Our app's debug build size is over 700MB, while the main binary is 350MB. However, after updating to Xcode 15 (15.0.1, 15.1b1, 15.1b2), we have noticed a significant increase in build time, launch time, and debugger attaching time. It now takes approximately 1 minute from the installation completion to the app's start launching. Furthermore, the initial retrieval of variables on the first breakpoint also takes 1 minute or even longer.
Could you please advise us on how to resolve this problem? Thank you