I’m developing an iOS app using the latest version of Xojo on an M1 mini running MacOS 12.2.1.
Mostly it’s nice and snappy, but about 1 time in 10 when I select the Run button I get a SPoD and Xojo goes completely unresponsive for several minutes. Then suddenly I get the compiling pop-up window and shortly later the app launches in the Simulator as usual.
Running Activity Monitor does not show any CPU or other resource usage when this occurs.
When you press run or CMD+R release the buttons asap, if you hold it for too long it may cause a delay. i think greg once said that an since forever i’ve not had delays after that.
Still having this problem, except that now the SPOD occurs when editing code. It could be a text selection, copy, duplicate, etc. The hang lasts about 10 minutes, then everything is fine. Only Xojo exhibits this behavior. Activity Monitor doesn’t show anything spiking anywhere. The Xojo preference file looks uncorrupted. I would blame my buggy M1 mini, which requires an occasional Bluetooth reset, except that it happens only with Xojo.
I’d check some things:
1: with disk utility, check your hard disk (including external ones). A file system going corrupted may produce the symptoms you’re seeing (because Xojo would wait on resources that take time to come).
2: are you using network drive? Sometimes, a busy server (or a poor connection) can delay the asked resource to come, leading to an app hanging.
3: is your RAM possibly full? How much does Xojo take?
The fact it only happens with Xojo doesn’t surprise me. While I can’t explain much (barely a feeling of Xojo using old API or being complex), I’ve seen behaviours like that which only Xojo has among the apps I use.