Adding support to Swift Package Manager
Closed this issue · 16 comments
With XCode 12 binary frameworks can be embedded in packages distributed with SPM (https://developer.apple.com/videos/play/wwdc2020/10147/) .
Could you please consider adding support for Swift Package Manager?
Hi @wfhm, is this something you guys are working on and if so, is there a time frame?
We will definitely do it in future, however, right now we do not have any ETA on it, so it will most likely not be added in 2020. I will update this thread when there is any news on the ETA.
@wfhm, hmm okay, instead of that then would it be possible to just provide the framework binaries (https://github.com/Pushwoosh/pushwoosh-ios-sdk/tree/master/Framework) as .xcframework files? If not we have no way of adding them to our Swift packages.
We are not going to release .xcframework files publicly until SPM is officially supported. As a temporary solution you can try the ones attached to this response.
XCPushwooshInboxUI.xcframework.zip
XCPushwoosh.xcframework.zip
I would also like to see spm support for out project
Is this xcframework always up to date?
@dungi no, it was never updated since it was posted. Below are the new versions with the latest Pushwoosh iOS SDK:
I guess the xcframework was build wrong. If I run it on real device it works. But for simulator the following error
symbol(s) not found for architecture arm64
Hello, is there any update on this issue? Pushwoosh is the last remaining dependency in my project I have to be fully on Swift Package Manager.
Thanks.
Any update on this?
We are still working on supporting SPM, I will check with the team and provide an ETA once there is any. Meanwhile, as a temporary workaround, .xcframework files are available for all new releases already - you can find them the Pushwoosh.framework.zip in assets for every release:
https://github.com/Pushwoosh/pushwoosh-ios-sdk/releases/tag/6.2.5
Seems like the XCFramework I downloaded from this section is missing support for Mac Catalyst.
6.3.0 doesn't work with SPM:
/Package.swift has no Package.swift manifest for version 6.3.0 in https://github.com/Pushwoosh/pushwoosh-ios-sdk
@dungi yes, we are aware of this issue - something went wrong during the release process. We are working on it now.
UPD: Fixed.
@dungi @gameaccount @rextremotabaresDtt @murillotomas Swift Package Manager is now supported! You'll need to update SDK to the 6.3.0 version, and you can find the integration guide by the link below:
Please let us know if you experience any issues with the SPM integration, or if you have any additional questions!