The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Changed
- Updated to [Braze iOS SDK 4.5.4+](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#454).
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Updated to [Braze iOS SDK 4.5.1+](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#451).
#### Fixed
- Fixed a bug where birthdays were not being logged properly from `identify` calls.
#### Added
- Adds `Other`, `Unknown`, `Not Applicable`, and `Prefer Not to Say` options for user gender.
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Updated to [Braze iOS SDK 4.4.1+](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#441).
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Renames SPM packages to `AppboySegment` and `AppboySegmentCore` from `Full-SDK` and `Core`.
- In order to migrate, update the package and change import statements to `import AppboySegment` or `import AppboySegmentCore`.
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Updated to [Braze tvOS SDK 4.3.x](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#430).
- A `track` call with event name `Completed Order` will now be treated as a purchase event for backwards compatibility with Segment eCommerce v1 API.
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Updated to [Braze iOS SDK 4.3.0](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#430).
**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
#### Breaking
- Updated to [Braze iOS SDK 4.1.0](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#410).
#### Added
- Adds support for tvOS when using CocoaPods. For tvOS, add the following lines to your Podfile target:
```
pod 'Segment-Appboy/tvOS'
pod 'Analytics'
```
And add the functionality to your `AppDelegate.m`:
```
SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:@"<segment key here>"];
[config use:[SEGAppboyIntegrationFactory instance]];
[[SEGAppboyIntegrationFactory instance] saveLaunchOptions:launchOptions];
[SEGAnalytics setupWithConfiguration:config];
```
#### Breaking
- Updated to [Braze iOS SDK 4.0.1](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#401).
#### Fixed
- Fixes an issue with Swift Package Manager which caused errors at compile time.
#### Breaking
- Updated to [Braze iOS SDK 3.31.0](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#3310).
#### Added
- Adds initial support for Swift Package Manager.
- Two new packages were added:
- `Full-SDK`, which contains the full SDK (including UI elements) and corresponds to the `Full-SDK` pod.
- `Core`, which contains the core Braze functionality and corresponds to the `Core` pod.
- Note that tvOS support is not available via Swift Package Manager for this release.
- To add the package to your project follow these steps:
- Select `File > Swift Packages > Add Package Dependency`.
- In the search bar, enter https://github.com/Appboy/segment-ios.
- Select `Full-SDK` or `Core`, depending on your use case.
- In your app's target, under `Build Settings > Other Linker Flags`, add the `-ObjC` linker flag.
- In the Xcode menu, click `Product > Scheme > Edit Scheme...`
- Click the expand ▶️ next to `Build` and select `Post-actions`. Press `+` and select `New Run Script Action`.
- In the dropdown next to `Provide build settings from`, select your app's target.
- Copy this script into the open field:
```
bash "$BUILT_PRODUCTS_DIR/Appboy_iOS_SDK_AppboyKit.bundle/Appboy.bundle/appboy-spm-cleanup.sh"
```
- Note that when importing the `Full-SDK`, you need to use an underscore (`import Full_SDK`).