Skip to content

Commit dddeb6f

Browse files
committed
release: SDK 1.21.2
1 parent 975452c commit dddeb6f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ let package = Package(
1818
targets: [
1919
.binaryTarget(
2020
name: "Batch",
21-
url: "https://download.batch.com/sdk/ios/spm/BatchSDK-ios_spm-xcframework-1.21.1.zip",
22-
checksum: "0b4a80df826d46be24d71eb77e41517a6545663f15b1e44d4ef46038df175232"
21+
url: "https://download.batch.com/sdk/ios/spm/BatchSDK-ios_spm-xcframework-1.21.2.zip",
22+
checksum: "5caa61a570d8317f4f5a75e4325c2bfcbc5f9b98349bffd5c2fc21375755da25"
2323
)
2424
]
2525
)

Sources/Batch.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3127,7 +3127,7 @@
31273127
);
31283128
runOnlyForDeploymentPostprocessing = 1;
31293129
shellPath = /bin/sh;
3130-
shellScript = "# Work around an issue where release builds of Batch on Xcode 15.3 need to have\n# a very high Deployment target to pass validation\n# https://github.com/BatchLabs/Batch-iOS-SDK/issues/35\n# We can't override this when building so we need to patch the plist before it's bundled\n# in the xcframework or signed\nif [[ -z \"${IS_MACCATALYST}\" ]]; then\n # We are NOT in a catalyst environment: we only want to patch iOS/visionOS builds\n # We also do not want to patch simulator builds\n if [[ ${SDK_NAME} != *\"simulator\"* ]]; then\n echo \"Patching MinimumOSVersion to 100.0\"\n plutil -replace MinimumOSVersion -string 100.0 \"${BUILT_PRODUCTS_DIR}/Batch.framework/Info.plist\"\n fi\nfi\n \n";
3130+
shellScript = "# Work around an issue where release builds of Batch on Xcode 15.3 need to have\n# a very high Deployment target to pass validation\n# https://github.com/BatchLabs/Batch-iOS-SDK/issues/35\n# We can't override this when building so we need to patch the plist before it's bundled\n# in the xcframework or signed\nINFO_PLIST_FILE=\"${BUILT_PRODUCTS_DIR}/Batch.framework/Info.plist\"\nif [ -f \"$INFO_PLIST_FILE\" ]; then \n # We are NOT in a catalyst environment: we only want to patch iOS/visionOS builds\n # We also do not want to patch simulator builds\n if [[ ${SDK_NAME} != *\"simulator\"* ]]; then\n echo \"Patching MinimumOSVersion to 100.0\"\n plutil -replace MinimumOSVersion -string 100.0 $INFO_PLIST_FILE\n fi\nfi\n \n";
31313131
};
31323132
516BBC0B22BD0D2900742649 /* ShellScript */ = {
31333133
isa = PBXShellScriptBuildPhase;

Sources/Batch/Versions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
Comments should not use the // form, as the plist preprocessor will include them
1212
*/
1313

14-
#define BASDKVersion 1.21.1
14+
#define BASDKVersion 1.21.2
1515
#define BAAPILevel 70
1616
#define BAMessagingAPILevel 12

0 commit comments

Comments
 (0)