Xcode 15 builds are broken on Sonoma. They will run fine on every system version prior to Sonoma but they don't render any UI on Sonoma because visibleRect
returns nonsense values (you only need to add two lines of code to a stock UI project to demonstrate that, the most minimal test case you can think of) and because CoreAnimation tries to load a shader and this doesn't work:
Metal failed to load render pipeline: pipeline=PBGRAXmw_BclrA3Xhfc sdk=23A322
Failed to find reflection in binary archives
and yes, we tried the workaround to link directly against the Metal framework but that didn't work at all. So without going back to Xcode 14.3.1, all software development would have to come to a halt until Apple has addressed those issues.
See also:
https://developer.apple.com/forums/thread/735776
https://developer.apple.com/forums/thread/738589
So we have no choice to keep using Xcode 14.3.1 and the way to do it is:
- Download and unpack Xcode 14.3.1
- Right click and select "Show Package Contents"
- Navigate to Contents
- Open the Info.plist file
- Alter
CFBundleVersion
from 21815
to 22265
- Save change
- Right click Xcode 14.3.1 bundle and select "Open"
There you go: