Full SPM Package Support?

From the docs here... https://developer.genesys.cloud/commdigital/digital/webmessaging/mobile-messaging/messenger-mobile-sdk/ios/swift-package-manager

It looks like we're advised to create our own Package.swift file for the Mobile Messenger SDK.

Would it not be preferential to have a file like this on GitHub somewhere so that this can be distributed properly through SPM?

Is this in the road map to add this? Or is this the only option right now if we're not using Cocoapods?

Thanks

Hi,

Currently, you can update versions only manually if you are not using Cocoapods.
We are planning to add SPM support.
Here is the corresponding idea.
We will share updates there.

Regards,

Thanks @David1 it seems I need an account to access that ideas portal?

I'm not sure if I have an account yet.

Thanks

Hi @David1

Please could you advise on how I get an account so that I can see the ideas portal?

Thanks

Information about requesting access can be found here: My Support Portal - Genesys Cloud Resource Center. Your support account is the same SSO used for the ideas site.

Hey, sorry, back again.

Just trying to work out where to get these URLs and Checksums :sweat:

The docs link to here... JFrog for the Transport SDK.

But the sample Package.swift (link in post below) file shows this URL... https://github.com/MyPureCloud/genesys-messenger-transport-mobile-sdk/releases/download/v2.4.1/MessengerTransport.xcframework.zip
and this CheckSum value... 948e6477c60dfd8a296bf5f251b69449c9fe56e01d7f4162211df2da75de0238

Please could you explain where to get that second URL and the CheckSum value from the first link? There doesn't appear to be any information from the link that would lead to being able to find these.

Perhaps this could also be added to the documentation as it isn't clear at all right now.

Thanks

Link to the sample Package.swift as I can only post two links in a post... mobiledx-samples-ios/Swift Package Manager (SPM) - PoC/Package.swift at main · MyPureCloud/mobiledx-samples-ios · GitHub

Thanks

Ah! My colleague has just found the details. The expanding list wasn't working for me. :+1:

It does seem odd that the docs are literally the same steps that you would need to do to create a Package.swift file and host it somewhere public.

That's all it would take to properly support SPM in this case. Then these docs and directories and Checksums and URLs wouldn't be needed externally. :sweat_smile:

Fingers crossed for when that happens :smile:

Hello,
We are currently working on the documentation to make it more up to date and clear.

Meanwhile I can give some hint to setup the Package.swift file.
Both destination (JFrog and GitHub) is fine.

  1. If you use JFrog, please tkae the URL of the 2.7.2 version. You can find the SHA-256 under checksum, please use that.
  2. If you use the GitHub (Releases · MyPureCloud/genesys-messenger-transport-mobile-sdk · GitHub), please also pick 2.7.2 release. In this case you need to create a checksum.
1 Like

@tim.smith hey, not sure if you can do anything about it but I just noticed that all my posts containing links are being hidden as spam. Even though I'm just linking to your own docs and your own GitHub repo.

Thanks :smiley:

Your posts were held by the spam filter for posting multiple nearly identical links in a short amount of time. They've been released.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.