Add SPM Support
Please add support for SPM (cocoapods are deprecated). There was already an issue (https://github.com/RevenueCat/purchases-capacitor/issues/350) but this was closed and was not opened anymore although it is not completed. A Package.swift file is missing.
To convert the plugin please see https://github.com/ionic-team/capacitor-plugin-converter
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hi @paulstelzer, I'm very sorry about the delay on this reply. We've been auditing our ticketing system and found that your ticket was never resolved. Can you let me know if you are still seeing this issue on our most recent SDK versions 10.3.8 or 11.2.3?
@HaleyRevcat This is still an issue. The plugin has not fulfilled the steps to add SPM support (see https://capacitorjs.com/docs/ios/spm#converting-existing-plugins-to-spm)
Definitely need to prioritize this please. I am going to open a pull request on a fork.
Opened #595 but it may require some changes to be to your liking.
I redid the SPM PR today based on issues I had installing it in my app locally. This version duplicates the iOS code and relocates everything into the preferred SPM structure. You can likely eliminate the duplicate files by editing the Podspec but I wanted to leave the working Cocoapods configuration intact. All other Capacitor plugins we've tried to use already have SPM support so this will, at least, unblock people who have already migrated to SPM.
I have hit too many issues with this and I've been directed to take a different approach. I'll leave the PR open with my progress but Xcode is currently crashing.