Post

Replies

Boosts

Views

Activity

Xcode 16, app is unresponsive after launch when debugging
With Xcode 16, I am experiencing something odd when starting apps with debugging. On one phone, after the app is launched (normally, not slow) and the main screen comes up, it takes between 3 and 15 seconds for the app to become responsive. When turning on Hang Detection on the phone, it is clear that there is a hang going on. This happens for all apps, including a new test app created just to reproduce this issue. It seems like this delay becomes longer and longer the more times I start the app after a reboot. After a few hours of development, usually the delay is more than 10 seconds. When starting without debugging, everything is normal, both from Xcode and from the home screen. I have tried many things without success : restarting the Mac restarting the phone toggling developer mode off and on on the phone disabling wifi and bluetooth on the phone and/or Mac removing the app and reinstalling it disabling all diagnostic options in the scheme made sure there is no VPN enabled There are no relevant log entries in the Xcode console, none in the Console app for the Mac or phone. I see a spike in Activity Monitor for lldb-rpc-server when starting the app, but only around 25% and it drops shortly after. It does not happen with other devices, just this iPhone 15 Pro. Is there anything else I can try?
2
1
384
Oct ’24