Skip to content

Commit 206c411

Browse files
Merge pull request #26 from sendbird/release/swiftui/1.0.4
Release/swiftui/1.0.4 -> main
2 parents a204f88 + f185def commit 206c411

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
## New Interfaces
2-
- Added `GlobalOptions.enableViewAdaptorAutoReset`
3-
- This option decides whether to reset customized view adaptors whenever SendbirdSwiftUI View's `onDisappear` is called.
4-
- Set this flag to `false` before a specific SendbirdSwiftUI View appears, if you want to prevent its customized views from resetting, even after its `onDisappear` is called.
1+
## Notices
2+
- If you are having trouble building SendbirdSwiftUI for versions `1.0.2`, `1.0.3`, please update to `1.0.4` or above.
3+
- SendbirdSwiftUI is no longer updated for Cocoapods, due to [Cocoapods' deprecation plans](https://blog.cocoapods.org/CocoaPods-Support-Plans/).
4+
- You can still use SendbirdSwiftUI for Cocoapods for versions `1.0.1` or below.
55

6-
## Improvements
7-
- Fixed customized SendbirdSwiftUI View's customized styles being reset whenever a SendbirdSwiftUI View 's `onDisappear` is called (e.g., when coming back from another `TabView`)
6+
7+
## Improvements
8+
- Fixed the below build failures for SendbirdSwiftUI versions `1.0.2`, `1.0.3`.
9+
- `Failed to build module 'SendbirdSwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)', while this compiler is 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)'). Please select a toolchain which matches the SDK.`

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ let package = Package(
2323
targets: [
2424
.binaryTarget(
2525
name: "SendbirdSwiftUI",
26-
url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.3/SendbirdSwiftUI.xcframework.zip", // SendbirdSwiftUI_URL
27-
checksum: "4599d0209a95045c1aee95fb9d90d7caeb6df284d2e9810a057aa6a893ac0120" // SendbirdSwiftUI_CHECKSUM
26+
url: "https://github.com/sendbird/sendbird-swiftui-ios/releases/download/1.0.4/SendbirdSwiftUI.xcframework.zip", // SendbirdSwiftUI_URL
27+
checksum: "f24e8527cbb20c193c1c24b0994c34a3b3ea8b79c824ebf8e2b85d48e09b1007" // SendbirdSwiftUI_CHECKSUM
2828

2929
),
3030
.binaryTarget(

Sample/QuickStartSwiftUI.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7615,7 +7615,7 @@
76157615
"@executable_path/Frameworks",
76167616
"@loader_path/Frameworks",
76177617
);
7618-
MARKETING_VERSION = 1.0.3;
7618+
MARKETING_VERSION = 1.0.4;
76197619
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample;
76207620
PRODUCT_NAME = "$(TARGET_NAME)";
76217621
SDKROOT = iphoneos;
@@ -7647,7 +7647,7 @@
76477647
"@executable_path/Frameworks",
76487648
"@loader_path/Frameworks",
76497649
);
7650-
MARKETING_VERSION = 1.0.3;
7650+
MARKETING_VERSION = 1.0.4;
76517651
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample.SwiftUINotificationService;
76527652
PRODUCT_NAME = "$(TARGET_NAME)";
76537653
SDKROOT = iphoneos;
@@ -7737,7 +7737,7 @@
77377737
"@executable_path/Frameworks",
77387738
"@loader_path/Frameworks",
77397739
);
7740-
MARKETING_VERSION = 1.0.3;
7740+
MARKETING_VERSION = 1.0.4;
77417741
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample;
77427742
PRODUCT_NAME = "$(TARGET_NAME)";
77437743
SDKROOT = iphoneos;
@@ -7824,7 +7824,7 @@
78247824
"@executable_path/Frameworks",
78257825
"@loader_path/Frameworks",
78267826
);
7827-
MARKETING_VERSION = 1.0.3;
7827+
MARKETING_VERSION = 1.0.4;
78287828
PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.swiftui.sample.SwiftUINotificationService;
78297829
PRODUCT_NAME = "$(TARGET_NAME)";
78307830
SDKROOT = iphoneos;

Sample/project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ settingGroups:
4343
FRAMEWORK_SEARCH_PATHS: ''
4444
IPHONEOS_DEPLOYMENT_TARGET: '15.0'
4545
LD_RUNPATH_SEARCH_PATHS: ["$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks"]
46-
MARKETING_VERSION: '1.0.3'
46+
MARKETING_VERSION: '1.0.4'
4747
PRODUCT_NAME: "$(TARGET_NAME)"
4848
SDKROOT: iphoneos
4949
SWIFT_VERSION: '5.0'

0 commit comments

Comments
 (0)