I've been planning an iOS app for some time which uses SwiftData and will be subscription based, and have done some development work on it. But now I'm wondering if I should also do a MacOS version, and that got me wondering if it's possible to do a multiplatform version? I've done searching, and can't find much info on such development. So my qestions are...
- If I choose multiplatform in Xcode, do I just make one version of the code, and the API will know what platform it's on automatically?
- Does SwiftData also work on MacOS?
- Would I setup the same subscription to work on the iOS app store and the Mac app store? I'm planning on using RevenueCat. Or would subscriptions in both stores be completely seperate?
- Are there some things that are just not compatible between the platforms that I should be aware of?
- Is it just better to do 2 different xcode projects, despite the large amount of code overlap?