Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 3.96 KB

File metadata and controls

64 lines (47 loc) · 3.96 KB

Braze Logo Braze Logo

Version: 11.4.0 Platforms: iOS - visionOS – tvOS – Mac Catalyst Package Managers: SwiftPM - CocoaPods License: Commercial

Braze Swift SDK - Prebuilt Mergeable (early access)

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 mergeable XCFrameworks.

The Braze Swift SDK mergeable XCFrameworks are provided in early access. Please be aware that certain issues may arise depending on the version of Xcode you’re using. We are closely monitoring for any updates to Xcode before officially releasing this repository.

How to use this repository

Required build settings

Regardless of the integration method chosen, you must enable support for mergeable libraries in your target(s) Xcode settings by setting Create Merged Binary to automatic (MERGED_BINARY_TYPE=automatic).

Failing to set MERGED_BINARY_TYPE=automatic can result in an increased app size.

Swift Package Manager

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-mergeable.

CocoaPods

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-mergeable/<version>/BrazeKit.podspec'
pod 'BrazeUI', :podspec => 'https://raw.githubusercontent.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/<version>/BrazeUI.podspec'
...

Alternative Repositories

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