|
1377 | 1377 | ); |
1378 | 1378 | runOnlyForDeploymentPostprocessing = 0; |
1379 | 1379 | 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"; |
1381 | 1381 | }; |
1382 | 1382 | 5FD0FB1725CE4B93008200EE /* ShellScript */ = { |
1383 | 1383 | isa = PBXShellScriptBuildPhase; |
|
1394 | 1394 | ); |
1395 | 1395 | runOnlyForDeploymentPostprocessing = 0; |
1396 | 1396 | 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"; |
1398 | 1398 | }; |
1399 | 1399 | /* End PBXShellScriptBuildPhase section */ |
1400 | 1400 |
|
|
1734 | 1734 | SDKROOT = appletvos; |
1735 | 1735 | SKIP_INSTALL = YES; |
1736 | 1736 | TARGETED_DEVICE_FAMILY = 3; |
1737 | | - TVOS_DEPLOYMENT_TARGET = 9.0; |
| 1737 | + TVOS_DEPLOYMENT_TARGET = 11.0; |
1738 | 1738 | }; |
1739 | 1739 | name = Debug; |
1740 | 1740 | }; |
|
1770 | 1770 | SDKROOT = appletvos; |
1771 | 1771 | SKIP_INSTALL = YES; |
1772 | 1772 | TARGETED_DEVICE_FAMILY = 3; |
1773 | | - TVOS_DEPLOYMENT_TARGET = 9.0; |
| 1773 | + TVOS_DEPLOYMENT_TARGET = 11.0; |
1774 | 1774 | }; |
1775 | 1775 | name = Release; |
1776 | 1776 | }; |
|
1787 | 1787 | DYLIB_INSTALL_NAME_BASE = "@rpath"; |
1788 | 1788 | INFOPLIST_FILE = Branch/Info.plist; |
1789 | 1789 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
1790 | | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
| 1790 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
1791 | 1791 | LD_DYLIB_INSTALL_NAME = "@rpath/Branch.framework/Branch"; |
1792 | 1792 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; |
1793 | 1793 | MACH_O_TYPE = staticlib; |
|
1816 | 1816 | DYLIB_INSTALL_NAME_BASE = "@rpath"; |
1817 | 1817 | INFOPLIST_FILE = Branch/Info.plist; |
1818 | 1818 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
1819 | | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
| 1819 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
1820 | 1820 | LD_DYLIB_INSTALL_NAME = "@rpath/Branch.framework/Branch"; |
1821 | 1821 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; |
1822 | 1822 | MACH_O_TYPE = staticlib; |
|
1973 | 1973 | DYLIB_INSTALL_NAME_BASE = "@rpath"; |
1974 | 1974 | INFOPLIST_FILE = Branch/Info.plist; |
1975 | 1975 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
1976 | | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
| 1976 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
1977 | 1977 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; |
1978 | 1978 | MACOSX_DEPLOYMENT_TARGET = 10.15; |
1979 | 1979 | MARKETING_VERSION = 1.44.0; |
|
2000 | 2000 | DYLIB_INSTALL_NAME_BASE = "@rpath"; |
2001 | 2001 | INFOPLIST_FILE = Branch/Info.plist; |
2002 | 2002 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
2003 | | - IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
| 2003 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
2004 | 2004 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; |
2005 | 2005 | MACOSX_DEPLOYMENT_TARGET = 10.15; |
2006 | 2006 | MARKETING_VERSION = 1.44.0; |
|
0 commit comments