Is there a nice way to conditionally compile Swift to use new API in beta Xcode but also compile with stable Xcode? Basically #ifdef __IPHONE_15_0 but in Swift. The only thing I can think of is setting up conditional build settings using XCODE_VERSION_MAJOR.