Import the SDK
Starting from version
4.4.0, the Braze SDK supports XCFrameworks when integrating via Carthage. To import the full SDK, include these lines in your
1 2 binary "https://raw.githubusercontent.com/Appboy/appboy-ios-sdk/master/appboy_ios_sdk.json" github "SDWebImage/SDWebImage"
Reference the Carthage quick start guide for more instructions about importing the SDK.
When migrating from a version prior to
4.4.0, follow the Carthage migration guide for XCFrameworks.
For more details around the syntax of the
Cartfile or features such as version pinning, visit the Carthage documentation.
For platform-specific usage of Carthage, refer to their user guide.
4.3.4, include the following in your
1 binary "https://raw.githubusercontent.com/Appboy/appboy-ios-sdk/master/appboy_ios_sdk_full.json"
To import versions prior to
3.24.0, include the following in your
1 github "Appboy/Appboy-iOS-SDK" "<BRAZE_IOS_SDK_VERSION>"
Make sure to replace
<BRAZE_IOS_SDK_VERSION> with the appropriate version of the Braze iOS SDK in “x.y.z” format.
Follow the instructions for completing the integration.
Core only integration
If you want to use the Core SDK without any UI components or dependencies, install the core version of the Braze Carthage framework by including the following line in your
1 binary "https://raw.githubusercontent.com/Appboy/appboy-ios-sdk/master/appboy_ios_sdk_core.json"