Whenever I hit play on my app to test it on the Mac the register .app part starts taking more than 15 minutes, this is severely impacting my work.
There's no indication on what's wrong and how can I fix this.
Is there any other way I can diagnose what
lsregisteris doing and why it's taking so long?
I can’t think of any way that’ll yield guaranteed results. You could, for example, run sample against it to see what it’s doing at that time. However, it’s likely that you’ll find that it’s always blocked in some sort of XPC to a system daemon or agent. You can repeat the process, or deploy spindump, but the deeper you get the less likely you are to get results that are easy to interpret.
Another option is to dig into the system log to see if anything interesting shows up there. I have lots of hints and tips on that front in Your Friend the System Log.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"