Extreme Slow Launch of macOS applications on Big Sur

Hi, recently I've upgraded to Big Sur and when I try to launch a simple hello world application on Xcode 11 it takes too long to start debugging. I also tried Xcode 10 but it is worse ( it crashes during launch )

And happily I found the solution to my case by trying diagnostic and options on Xcode 11 ( I coundn't fix on Xcode 10 ).

The problem solved when I deselect "View Debugging ( Enable User Interface Debugging)". It is in the run options tab when you click edit scheme menu.

And one more thing. In my case iOS applications does not seems to be affected by slow launch problem only macOs applications affected ( both objective C and C/C++ )

Some symptoms : High cpu usage by lldb-rpc-server and debugserver.


Post not yet marked as solved Up vote post of KivancG Down vote post of KivancG
1.6k views

Replies

Thanks @KivancG, I was also affected by this issue, your answer helped. Have you submitted a feedback? Xref (probably the same issue) https://developer.apple.com/forums/thread/679098?answerId=673107022

  • Also thank you @marcin_, I'm posting xref to that thread also.

Add a Comment

Also thank you @marcin, I'm posting xref to that thread also.