I’m a bit confused on how multi-platform SwiftUI projects default to in Xcode 15. There are no separate OS targets, but multiple supported destinations set instead. So how can a file target just one of the destinations?

Follow

@bardi there is basically one bigboi target now (apart from watch). You can set platform specific files in the “Compile Sources” phase (though to be honest I find it easier to just use os() inline)

Sign in to participate in the conversation
The Not So Big Company

The home of The Not So Big Company on Mastodon.