This repository is provided as an alternative for the main Braze Swift SDK repository (braze-inc/braze-swift-sdk). It offers all of our libraries already prebuilt as dynamic XCFrameworks.
Follow the steps described in our Swift Package Manager integration article, replacing the URL of the repository with https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic
.
Follow the steps described in our CocoaPods integration article.
In your podfile, for each statement referencing a Braze pod, add a :podspec
statement, replacing <version>
in the URL as follows:
pod 'BrazeKit', :podspec => 'https://raw.githubusercontent.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/<version>/BrazeKit.podspec'
pod 'BrazeUI', :podspec => 'https://raw.githubusercontent.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/<version>/BrazeUI.podspec'
...
Variant | Repository | GH Issues, SDK info |
---|---|---|
Sources and Static XCFrameworks | braze-inc/braze-swift-sdk | ✓ |
Static XCFrameworks | braze-inc/braze-swift-sdk-prebuilt-static | ✗ |
→ Dynamic XCFrameworks | braze-inc/braze-swift-sdk-prebuilt-dynamic | ✗ |
Mergeable XCFrameworks (early access) | braze-inc/braze-swift-sdk-prebuilt-mergeable | ✗ |