Skip to content

Commit

Permalink
Prepare for release 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chshapiro committed Oct 26, 2021
1 parent 098dacd commit c935e38
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.4.0

**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`.

## 4.3.0

**Note:** This version does not include Carthage support. We are revisiting our Carthage approach and will reintroduce it in an upcoming version.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"object": {
"pins": [
{
"package": "Segment",
"repositoryURL": "https://github.com/segmentio/analytics-ios.git",
"state": {
"branch": null,
"revision": "fc64997865619f73bbab196c164f7845a13da110",
"version": "4.1.6"
}
},
{
"package": "Appboy_iOS_SDK",
"repositoryURL": "https://github.com/Appboy/appboy-ios-sdk.git",
"state": {
"branch": null,
"revision": "4fe37c10288b10340a9862597d5bce7074980ae0",
"version": "4.3.4"
}
},
{
"package": "Segment-Appboy",
"repositoryURL": "https://github.com/chshapiro/appboy-segment-ios",
"state": {
"branch": "packageRenameSpm",
"revision": "df5f39c15dc85ec650739cf9ffaac3ba1d93a638",
"version": null
}
},
{
"package": "SDWebImage",
"repositoryURL": "https://github.com/SDWebImage/SDWebImage.git",
"state": {
"branch": null,
"revision": "d6367439527663d2038ca445a3c3c4e4bac40d60",
"version": "5.12.0"
}
}
]
},
"version": 1
}
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ let package = Package(
.iOS(.v12)
],
products: [
.library(name: "Full-SDK", targets: ["Full-SDK"]),
.library(name: "Core", targets: ["Core"])
.library(name: "AppboySegment", targets: ["AppboySegment"]),
.library(name: "AppboySegmentCore", targets: ["AppboySegmentCore"])
],
dependencies: [
.package(name: "Segment", url: "https://github.com/segmentio/analytics-ios.git", from: "4.1.1"),
.package(name: "Appboy_iOS_SDK", url: "https://github.com/Appboy/appboy-ios-sdk.git", from: "4.3.0"),
],
targets: [
.target(
name: "Full-SDK",
name: "AppboySegment",
dependencies: [
.product(name: "Segment", package: "Segment"),
.product(name: "AppboyUI", package: "Appboy_iOS_SDK"),
Expand All @@ -28,7 +28,7 @@ let package = Package(
]
),
.target(
name: "Core",
name: "AppboySegmentCore",
dependencies: [
.product(name: "Segment", package: "Segment"),
.product(name: "AppboyKit", package: "Appboy_iOS_SDK"),
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Follow the standard procedure to add the frameworks built/retrieved by Carthage
To install the Braze integration through Swift Package Manager, follow these steps:

- Select `File > Swift Packages > Add Package Dependency`.
- In the search bar, enter https://github.com/Appboy/appboy-segment-ios. Select either `Full-SDK` or `Core`, depending on your use case.
- In the search bar, enter https://github.com/Appboy/appboy-segment-ios. Select either `AppboySegment` or `AppboySegmentCore`, 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`.
Expand All @@ -66,7 +66,7 @@ After adding the dependency, you must register the integration with our SDK. To
#import "SEGAppboyIntegrationFactory.h"
```

**Note:** When using Swift Package Manager, you will need to import the SDK using `import Full_SDK` or `import Core` depending on which package you are using.
**Note:** When using Swift Package Manager, you will need to import the SDK using `import AppboySegment` or `import AppboySegmentCore` depending on which package you are using.

And add the following lines:

Expand Down
2 changes: 1 addition & 1 deletion Segment-Appboy.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Segment-Appboy"
s.version = "4.3.0"
s.version = "4.4.0"
s.summary = "Braze Integration for Segment's analytics-ios library."

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Segment_Appboy.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "4.3.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.3.0/Segment_Appboy.framework.zip", "4.2.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.2.0/Segment_Appboy.framework.zip", "4.0.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.0.0/Segment_Appboy.framework.zip", "3.6.1": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.6.1/Segment_Appboy.framework.zip", "3.6.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.6.0/Segment_Appboy.framework.zip", "3.5.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.5.0/Segment_Appboy.framework.zip", "3.4.1": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.4.1/Segment_Appboy.framework.zip", "3.4.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.4.0/Segment_Appboy.framework.zip", "3.3.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.3.0/Segment_Appboy.framework.zip", "3.2.0" : "https://github.com/Appboy/appboy-segment-ios/releases/download/3.2.0/Segment_Appboy.framework.zip"}
{ "4.4.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.4.0/Segment_Appboy.framework.zip", "4.3.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.3.0/Segment_Appboy.framework.zip", "4.2.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.2.0/Segment_Appboy.framework.zip", "4.0.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/4.0.0/Segment_Appboy.framework.zip", "3.6.1": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.6.1/Segment_Appboy.framework.zip", "3.6.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.6.0/Segment_Appboy.framework.zip", "3.5.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.5.0/Segment_Appboy.framework.zip", "3.4.1": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.4.1/Segment_Appboy.framework.zip", "3.4.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.4.0/Segment_Appboy.framework.zip", "3.3.0": "https://github.com/Appboy/appboy-segment-ios/releases/download/3.3.0/Segment_Appboy.framework.zip", "3.2.0" : "https://github.com/Appboy/appboy-segment-ios/releases/download/3.2.0/Segment_Appboy.framework.zip"}
File renamed without changes.
File renamed without changes.

0 comments on commit c935e38

Please sign in to comment.