On coding, tech, privacy, AI and whatever else comes to this mind.

is quite frustrating lately.

- On-device debugging stops working after the first run, requiring device reboots.
- Xcode Cloud tests started failing even though running locally is fine.
- SPM requires endless cache resets whenever I switch branches (extra painful in one project that depends on the bloated AWS SDK).
- Xcode keeps forgetting list of recent files.
- Xcode's new AI prediction suggests lots of rubbish.

Shouldn't Apple be dog-fooding this?

One SPM issue got resolved after I came across this snippet on Stack Overflow:

defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES

No more of these so far: "The repository could not be found. Make sure a valid repository exists at the specified location and try again."

The issue that doesn't want to install on device is a little better in 16.1, but still happens. Found a way to address it without restart though:

1. Cancel the "download" of the app on device.
2. Kill CoreDeviceService on the Mac.
3. Delete the app from the device.

That sequence has worked every time so far. Usually 1 or 1+2 is enough.