Since updating to macOS 14.4 (23E214) (I think) I can no longer run my App with target "My Mac (Designed for iPad)". The error is:
Runningboard has returned error 5. Please check the system logs for the underlying cause of the error.
Looking in console:
System Policy: Xcode(39249) deny(1) file-read-data /private/var/db/MobileIdentityService/Configuration/Version.plist
Interestingly, renaming the bundle id, build and run (fails too) and renaming back allows it to run once. Perhaps this is a bug in whatever is enforcing it not to run.
Nothing else (clean, delete derived data, delete app container) allows it to run.