Catalyst support? SPM support?
Hello,
I have a couple of quick questions.
- Do I correctly assume that you guys will make your iOS SDK available as a Swift Package?
- When you do, will it support iPad apps on macOS (this is macOS running UIKit)?
Thanks in advance for any insights.
Comments
Hey @skellogg - glad you are interested in this. Our iOS SDK is written in Objective-C and can be used in Swift apps. We support iOS, TvOS, MacOS platforms with the same SDK. My colleague @erkanyildiz may provide more information on this.
Thanks for your reply! Yes, I had seen that the current SDK supports macOS. This, however is a new flavor of macOS support that will probably require specific support. It's the ability to quickly convert an iPad app (running UIKit) into a mac app (which would previously had run AppKit).
This will probably require some work on Count.ly's part to allow your iOS build to run on a mac without all of the IF/THEN code that is probably there to swap in AppKit instead of UIKIT.
The Swift Package Manager is basically an Apple built new package manager that will replace CocoaPods for Swift apps.
Thanks, @skellogg .. We are usually very responsive to customers' new SDK requests and implement them. Let's see what @erkanyildiz has to say
While docs are not so clear, I see that Swift Package Manager supports Objective-C source also. So, we may consider supporting it. Only problem would be semantic versioning required by SPM, as we are using Ubuntu style.
This should not require any extra steps on your iPad app source. But we will be handling required changes on our SDK, like disabling unsupported features on macOS if any.
I have my own branch of the iOS Count.ly SDK that I've modified over the years to remove (or make conditional) things like use of IDFA (I don't sell my customers' information to advertisers) and push notifications support (I don't currently use APN, but am considering it for future applications).
The latest 20.04.3 SDK is *close* to what I'm now using, and mine is re-organized to be happy with Cocoapods or SPM. I'll see if I can submit my net changes to 20.04.3 to support SPM. One thing that I'm still working on is supporting the `countly_dsym_uploader.sh` script.
Please sign in to leave a comment.