docusign / native-ios-sdk

A set of official UI components along with programmable client libraries that enable developers to integrate their products with DocuSign’s signature service API on iOS
https://docusign.github.io/native-ios-sdk/documentation/docusignsdk/
Other
27 stars 27 forks source link

Swift Package Manager support (SPM) #105

Closed bencallis closed 2 years ago

bencallis commented 2 years ago

We are considering using Docusign in a financial application I am working on. In this application we use SPM for all dependencies. Are there any imminent plans to add support for SPM to the docusign SDK? Without SPM support we may have to look at alternative providers SDKs..

ashokds commented 2 years ago

Hi @bencallis : Thanks for bringing the Swift Package Manager integration request. This is under discussion.

bencallis commented 2 years ago

Thanks for the reply. Please keep us posted on when/if you plan to include support for this.

mmohareb commented 2 years ago

Hello @bencallis

So we are planning to have official support for SPM in the second half of this year, final date to be announced once we come closer to this time frame.

for now you can create a local Swift package using binaryTarget and adding the DocuSignSDK.xcframework https://github.com/docusign/native-ios-sdk/blob/master/DocuSign.podspec#L32C26-L32C98

you can follow the documentation here https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages

Let us know if you face any issues with this approach.