Skip to content

Crossmint/crossmint-swift-sdk

Repository files navigation

Crossmint Swift SDK

First Steps

Once the project is cloned, it's ready to be opened with Xcode. To do this, simply double-click the Crossmint SDK.xcworkspace file. This will open the SDK along with a small companion demo app that can be used as a test bed. The app will start out of the box, but it will start showing error dialogs as soon as the API is used. To fix that, we need to add a couple of environment variables: CROSSMINT_API_KEY and CROSSMINT_WHITELISTED_DOMAIN.

Take a look at the following screenshot to see a valid configuration. (As you can see, there is another environment variable that it's used to show all the network logs in Xcode)

[Xcode screenshot showing the scheme configuration

How to Run Tests

The fastest way to run all the tests is by executing swift test in the command line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7