Skip to content

Commit c7cb39d

Browse files
authored
Merge pull request #1205 from BranchMetrics/SDK-1664-fix-for-xcode-14
SDK-1664 update min iOS and tvOS versions to 11
2 parents e29d006 + 40b6faa commit c7cb39d

File tree

8 files changed

+18
-16
lines changed

8 files changed

+18
-16
lines changed

Branch.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Use the Branch SDK (branch.io) to create and power the links that point back to
1515
s.license = 'MIT'
1616
s.author = { "Branch" => "[email protected]" }
1717
s.source = { git: "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git", tag: s.version.to_s }
18-
s.ios.deployment_target = '9.0'
19-
s.tvos.deployment_target = '9.0'
18+
s.ios.deployment_target = '11.0'
19+
s.tvos.deployment_target = '11.0'
2020

2121
s.ios.source_files = "Branch-SDK/*.{h,m}"
2222

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ v.1.44.0
55
- SDK-1480 [iOS 16] UIPaste Support for NativeLink Flow
66
* Added API 'passPasteItemProviders'
77
* Added class 'BranchPasteControl'
8+
- Requires Xcode 14+
9+
810
- Known Issues:
911
* Integration with Carthage fails for tvOS.
1012

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import PackageDescription
66
let package = Package(
77
name: "Branch",
88
platforms: [
9-
.iOS(.v9),
10-
.tvOS(.v9),
9+
.iOS(.v11),
10+
.tvOS(.v11),
1111
],
1212
products: [
1313
.library(

carthage-files/BranchSDK.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@
13771377
);
13781378
runOnlyForDeploymentPostprocessing = 0;
13791379
shellPath = /bin/sh;
1380-
shellScript = "# config\nIOS_PATH=\"./build/ios/ios.xcarchive\"\nIOS_SIM_PATH=\"./build/ios/ios_sim.xcarchive\"\nXCFRAMEWORK_PATH=\"./build/Branch.xcframework\"\nCATALYST_PATH=\"./build/catalyst/catalyst.xcarchive\"\nSTATIC_LIB_SIM_PATH=\"./build/Branch.sim\"\nSTATIC_LIB_PATH=\"./build/Branch.a\"\n\n# delete previous build\nrm -rf \"./build\" \n\n# build iOS framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_PATH}\" \\\n -sdk iphoneos \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n \n# build iOS simulator framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_SIM_PATH}\" \\\n -sdk iphonesimulator \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n\n# build Catalyst framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${CATALYST_PATH}\" \\\n -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n \n# package frameworks\nxcodebuild -create-xcframework \\\n -framework \"${IOS_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${IOS_SIM_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${CATALYST_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -output \"${XCFRAMEWORK_PATH}\"\n\n# build a static fat library from the xcframework\n# this is used by xamarin\nTEMP_LIB_PATH=\"./build/Branch.sim\"\nLIBRARY_PATH=\"./build/Branch.a\"\n\n# create simulator library without m1\nlipo -output \"${TEMP_LIB_PATH}\" -remove arm64 \"${XCFRAMEWORK_PATH}/ios-arm64_i386_x86_64-simulator/Branch.framework/Branch\"\n\n# create a fat static library\nlipo \"${XCFRAMEWORK_PATH}/ios-arm64_armv7/Branch.framework/Branch\" \"${TEMP_LIB_PATH}\" -create -output \"${LIBRARY_PATH}\"\n";
1380+
shellScript = "# config\nIOS_PATH=\"./build/ios/ios.xcarchive\"\nIOS_SIM_PATH=\"./build/ios/ios_sim.xcarchive\"\nXCFRAMEWORK_PATH=\"./build/Branch.xcframework\"\nCATALYST_PATH=\"./build/catalyst/catalyst.xcarchive\"\nSTATIC_LIB_SIM_PATH=\"./build/Branch.sim\"\nSTATIC_LIB_PATH=\"./build/Branch.a\"\n\n# delete previous build\nrm -rf \"./build\" \n\n# build iOS framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_PATH}\" \\\n -sdk iphoneos \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n \n# build iOS simulator framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_SIM_PATH}\" \\\n -sdk iphonesimulator \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n\n# build Catalyst framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${CATALYST_PATH}\" \\\n -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' \\\n SKIP_INSTALL=NO \\\n GCC_PREPROCESSOR_DEFINITIONS='${inherited} BRANCH_EXCLUDE_IDFA_CODE=1'\n \n# package frameworks\nxcodebuild -create-xcframework \\\n -framework \"${IOS_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${IOS_SIM_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${CATALYST_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -output \"${XCFRAMEWORK_PATH}\"\n\n# build a static fat library from the xcframework\n# this is used by xamarin\nTEMP_LIB_PATH=\"./build/Branch.sim\"\nLIBRARY_PATH=\"./build/Branch.a\"\n\n# create simulator library without m1\nlipo -output \"${TEMP_LIB_PATH}\" -remove arm64 \"${XCFRAMEWORK_PATH}/ios-arm64_x86_64-simulator/Branch.framework/Branch\"\n\n# create a fat static library\nlipo \"${XCFRAMEWORK_PATH}/ios-arm64/Branch.framework/Branch\" \"${TEMP_LIB_PATH}\" -create -output \"${LIBRARY_PATH}\"\n";
13811381
};
13821382
5FD0FB1725CE4B93008200EE /* ShellScript */ = {
13831383
isa = PBXShellScriptBuildPhase;
@@ -1394,7 +1394,7 @@
13941394
);
13951395
runOnlyForDeploymentPostprocessing = 0;
13961396
shellPath = /bin/sh;
1397-
shellScript = "# config\nIOS_PATH=\"./build/ios/ios.xcarchive\"\nIOS_SIM_PATH=\"./build/ios/ios_sim.xcarchive\"\nCATALYST_PATH=\"./build/catalyst/catalyst.xcarchive\"\nXCFRAMEWORK_PATH=\"./build/Branch.xcframework\"\n\n# delete previous build\nrm -rf \"./build\" \n\n# build iOS framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_PATH}\" \\\n -sdk iphoneos \\\n SKIP_INSTALL=NO\n\n# build iOS simulator framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_SIM_PATH}\" \\\n -sdk iphonesimulator \\\n SKIP_INSTALL=NO\n \n# build Catalyst framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${CATALYST_PATH}\" \\\n -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' \\\n SKIP_INSTALL=NO\n\n# package frameworks\nxcodebuild -create-xcframework \\\n -framework \"${IOS_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${IOS_SIM_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${CATALYST_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -output \"${XCFRAMEWORK_PATH}\"\n \n# build a static fat library from the xcframework\n# this is used by xamarin\nTEMP_LIB_PATH=\"./build/Branch.sim\"\nLIBRARY_PATH=\"./build/Branch.a\"\n\n# create simulator library without m1\nlipo -output \"${TEMP_LIB_PATH}\" -remove arm64 \"${XCFRAMEWORK_PATH}/ios-arm64_i386_x86_64-simulator/Branch.framework/Branch\"\n\n# create a fat static library\nlipo \"${XCFRAMEWORK_PATH}/ios-arm64_armv7/Branch.framework/Branch\" \"${TEMP_LIB_PATH}\" -create -output \"${LIBRARY_PATH}\"\n";
1397+
shellScript = "# config\nIOS_PATH=\"./build/ios/ios.xcarchive\"\nIOS_SIM_PATH=\"./build/ios/ios_sim.xcarchive\"\nCATALYST_PATH=\"./build/catalyst/catalyst.xcarchive\"\nXCFRAMEWORK_PATH=\"./build/Branch.xcframework\"\n\n# delete previous build\nrm -rf \"./build\" \n\n# build iOS framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_PATH}\" \\\n -sdk iphoneos \\\n SKIP_INSTALL=NO\n\n# build iOS simulator framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${IOS_SIM_PATH}\" \\\n -sdk iphonesimulator \\\n SKIP_INSTALL=NO\n \n# build Catalyst framework\nxcodebuild archive \\\n -scheme Branch-static \\\n -archivePath \"${CATALYST_PATH}\" \\\n -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' \\\n SKIP_INSTALL=NO\n\n# package frameworks\nxcodebuild -create-xcframework \\\n -framework \"${IOS_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${IOS_SIM_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -framework \"${CATALYST_PATH}/Products/Library/Frameworks/Branch.framework\" \\\n -output \"${XCFRAMEWORK_PATH}\"\n \n# build a static fat library from the xcframework\n# this is used by xamarin\nTEMP_LIB_PATH=\"./build/Branch.sim\"\nLIBRARY_PATH=\"./build/Branch.a\"\n\n# create simulator library without m1\nlipo -output \"${TEMP_LIB_PATH}\" -remove arm64 \"${XCFRAMEWORK_PATH}/ios-arm64_x86_64-simulator/Branch.framework/Branch\"\n\n# create a fat static library\nlipo \"${XCFRAMEWORK_PATH}/ios-arm64/Branch.framework/Branch\" \"${TEMP_LIB_PATH}\" -create -output \"${LIBRARY_PATH}\"\n";
13981398
};
13991399
/* End PBXShellScriptBuildPhase section */
14001400

@@ -1734,7 +1734,7 @@
17341734
SDKROOT = appletvos;
17351735
SKIP_INSTALL = YES;
17361736
TARGETED_DEVICE_FAMILY = 3;
1737-
TVOS_DEPLOYMENT_TARGET = 9.0;
1737+
TVOS_DEPLOYMENT_TARGET = 11.0;
17381738
};
17391739
name = Debug;
17401740
};
@@ -1770,7 +1770,7 @@
17701770
SDKROOT = appletvos;
17711771
SKIP_INSTALL = YES;
17721772
TARGETED_DEVICE_FAMILY = 3;
1773-
TVOS_DEPLOYMENT_TARGET = 9.0;
1773+
TVOS_DEPLOYMENT_TARGET = 11.0;
17741774
};
17751775
name = Release;
17761776
};
@@ -1787,7 +1787,7 @@
17871787
DYLIB_INSTALL_NAME_BASE = "@rpath";
17881788
INFOPLIST_FILE = Branch/Info.plist;
17891789
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1790-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1790+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
17911791
LD_DYLIB_INSTALL_NAME = "@rpath/Branch.framework/Branch";
17921792
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
17931793
MACH_O_TYPE = staticlib;
@@ -1816,7 +1816,7 @@
18161816
DYLIB_INSTALL_NAME_BASE = "@rpath";
18171817
INFOPLIST_FILE = Branch/Info.plist;
18181818
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1819-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1819+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
18201820
LD_DYLIB_INSTALL_NAME = "@rpath/Branch.framework/Branch";
18211821
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
18221822
MACH_O_TYPE = staticlib;
@@ -1973,7 +1973,7 @@
19731973
DYLIB_INSTALL_NAME_BASE = "@rpath";
19741974
INFOPLIST_FILE = Branch/Info.plist;
19751975
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1976-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1976+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
19771977
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
19781978
MACOSX_DEPLOYMENT_TARGET = 10.15;
19791979
MARKETING_VERSION = 1.44.0;
@@ -2000,7 +2000,7 @@
20002000
DYLIB_INSTALL_NAME_BASE = "@rpath";
20012001
INFOPLIST_FILE = Branch/Info.plist;
20022002
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
2003-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
2003+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
20042004
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
20052005
MACOSX_DEPLOYMENT_TARGET = 10.15;
20062006
MARKETING_VERSION = 1.44.0;

carthage-files/checksum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
03e74d6076c777217808572da5074f357fa119f5 Branch.zip
2+
483f7057c26e1b5b5302d4310483e78b7b68d8cc Branch.zip

carthage-files/checksum_noidfa.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
47d2a6459ab74dd011a5a4991995a51df7224dce Branch_noidfa.zip
2+
b0184caa0f6b080f23af335fa930a80351d9c149 Branch_noidfa.zip

carthage-files/checksum_static.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
78821eef9f0a841f4b4dcd8f7fb8a6cc6fa65656 Branch_static.zip
2+
0f37d54624b21aa43b61c1c4cc4929766cf66d3e Branch_static.zip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
ef983060b38928408de2342b912fec688bd38d50 Branch_static_noidfa.zip
2+
9c56d578e84a38bc102ed71e439ba4009a0dd827 Branch_static_noidfa.zip

0 commit comments

Comments
 (0)