Skip to content

Commit b4513c9

Browse files
Changming Sunashrit-ms
authored andcommitted
Update min iOS version to 15.1 to align with React Native 0.76 (#23292)
Update min iOS version to 15.1 to align with React Native 0.76. We need to update React Native . See react-native-community/discussions-and-proposals#812 for background. Similar to PR #20773
1 parent 45797ef commit b4513c9

14 files changed

Lines changed: 37 additions & 37 deletions

js/react_native/e2e/ios/OnnxruntimeModuleExample.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
DEVELOPMENT_TEAM = "";
323323
ENABLE_BITCODE = NO;
324324
INFOPLIST_FILE = OnnxruntimeModuleExample/Info.plist;
325-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
325+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
326326
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
327327
OTHER_LDFLAGS = (
328328
"$(inherited)",
@@ -345,7 +345,7 @@
345345
CURRENT_PROJECT_VERSION = 1;
346346
DEVELOPMENT_TEAM = "";
347347
INFOPLIST_FILE = OnnxruntimeModuleExample/Info.plist;
348-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
348+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
349349
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
350350
OTHER_LDFLAGS = (
351351
"$(inherited)",
@@ -407,7 +407,7 @@
407407
GCC_WARN_UNUSED_FUNCTION = YES;
408408
GCC_WARN_UNUSED_VARIABLE = YES;
409409
"HEADER_SEARCH_PATHS[arch=*]" = "";
410-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
410+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
411411
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
412412
LIBRARY_SEARCH_PATHS = (
413413
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
@@ -460,7 +460,7 @@
460460
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
461461
GCC_WARN_UNUSED_FUNCTION = YES;
462462
GCC_WARN_UNUSED_VARIABLE = YES;
463-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
463+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
464464
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
465465
LIBRARY_SEARCH_PATHS = (
466466
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
@@ -488,7 +488,7 @@
488488
DEBUG_INFORMATION_FORMAT = dwarf;
489489
GCC_C_LANGUAGE_STANDARD = gnu11;
490490
GENERATE_INFOPLIST_FILE = YES;
491-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
491+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
492492
MARKETING_VERSION = 1.0;
493493
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
494494
MTL_FAST_MATH = YES;
@@ -516,7 +516,7 @@
516516
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
517517
GCC_C_LANGUAGE_STANDARD = gnu11;
518518
GENERATE_INFOPLIST_FILE = YES;
519-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
519+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
520520
MARKETING_VERSION = 1.0;
521521
MTL_FAST_MATH = YES;
522522
PRODUCT_BUNDLE_IDENTIFIER = ai.onnxruntime.reactnative.OnnxruntimeModuleExampleUITests;

js/react_native/e2e/ios/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../node_modules/react-native/scripts/react_native_pods'
22
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
33

4-
platform :ios, '13.0'
4+
platform :ios, '15.1'
55

66
pre_install do |installer|
77
# Custom pre-install script or commands
@@ -32,8 +32,8 @@ post_install do |installer|
3232
installer.generated_projects.each do |project|
3333
project.targets.each do |target|
3434
target.build_configurations.each do |config|
35-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
35+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1'
3636
end
3737
end
3838
end
39-
end
39+
end

js/react_native/ios/OnnxruntimeModule.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
GCC_WARN_UNUSED_FUNCTION = YES;
422422
GCC_WARN_UNUSED_VARIABLE = YES;
423423
"HEADER_SEARCH_PATHS[arch=*]" = "";
424-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
424+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
425425
LIBRARY_SEARCH_PATHS = "";
426426
MTL_ENABLE_DEBUG_INFO = YES;
427427
ONLY_ACTIVE_ARCH = YES;
@@ -466,7 +466,7 @@
466466
GCC_WARN_UNUSED_FUNCTION = YES;
467467
GCC_WARN_UNUSED_VARIABLE = YES;
468468
"HEADER_SEARCH_PATHS[arch=*]" = "";
469-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
469+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
470470
LIBRARY_SEARCH_PATHS = "";
471471
MTL_ENABLE_DEBUG_INFO = NO;
472472
SDKROOT = iphoneos;
@@ -485,7 +485,7 @@
485485
"$(SRCROOT)/../../react-native/React/**",
486486
);
487487
"HEADER_SEARCH_PATHS[arch=*]" = "\"$(PODS_ROOT)/onnxruntime/onnxruntime.framework/Headers\"";
488-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
488+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
489489
LIBRARY_SEARCH_PATHS = (
490490
"$(inherited)",
491491
"$(PROJECT_DIR)",
@@ -510,7 +510,7 @@
510510
"$(SRCROOT)/../../react-native/React/**",
511511
);
512512
"HEADER_SEARCH_PATHS[arch=*]" = "\"$(PODS_ROOT)/onnxruntime/onnxruntime.framework/Headers\"";
513-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
513+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
514514
LIBRARY_SEARCH_PATHS = (
515515
"$(inherited)",
516516
"$(PROJECT_DIR)",
@@ -585,7 +585,7 @@
585585
"$(PROJECT_DIR)",
586586
);
587587
INFOPLIST_FILE = OnnxruntimeModuleTest/Info.plist;
588-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
588+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
589589
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
590590
LIBRARY_SEARCH_PATHS = "$(inherited)";
591591
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
@@ -659,7 +659,7 @@
659659
"$(PROJECT_DIR)",
660660
);
661661
INFOPLIST_FILE = OnnxruntimeModuleTest/Info.plist;
662-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
662+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
663663
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
664664
LIBRARY_SEARCH_PATHS = "$(inherited)";
665665
MTL_FAST_MATH = YES;

js/react_native/ios/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../node_modules/react-native/scripts/react_native_pods'
22
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
33

4-
platform :ios, '13.0'
4+
platform :ios, '15.1'
55

66
pre_install do |installer|
77
# Custom pre-install script or commands
@@ -43,8 +43,8 @@ post_install do |installer|
4343
installer.generated_projects.each do |project|
4444
project.targets.each do |target|
4545
target.build_configurations.each do |config|
46-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
46+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1'
4747
end
4848
end
4949
end
50-
end
50+
end

js/react_native/onnxruntime-react-native.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Pod::Spec.new do |spec|
1515
spec.license = package["license"]
1616
spec.authors = package["author"]
1717

18-
spec.platforms = { :ios => "13.0" }
18+
spec.platforms = { :ios => "15.1" }
1919
spec.source = { :git => "https://github.com/Microsoft/onnxruntime.git", :tag => "rel-#{spec.version}" }
2020

2121
spec.source_files = "ios/*.{h,mm}"

onnxruntime/test/platform/apple/apple_package_test/Podfile.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ target 'ios_package_test' do
22
# Comment the next line if you don't want to use dynamic frameworks
33
use_frameworks!
44

5-
platform :ios, '13.0'
5+
platform :ios, '15.1'
66

77
target 'ios_package_testUITests' do
88
inherit! :search_paths

onnxruntime/test/platform/apple/apple_package_test/apple_package_test.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
456456
GCC_WARN_UNUSED_FUNCTION = YES;
457457
GCC_WARN_UNUSED_VARIABLE = YES;
458-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
458+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
459459
MACOSX_DEPLOYMENT_TARGET = 13.3;
460460
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
461461
MTL_FAST_MATH = YES;
@@ -509,7 +509,7 @@
509509
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
510510
GCC_WARN_UNUSED_FUNCTION = YES;
511511
GCC_WARN_UNUSED_VARIABLE = YES;
512-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
512+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
513513
MACOSX_DEPLOYMENT_TARGET = 13.3;
514514
MTL_ENABLE_DEBUG_INFO = NO;
515515
MTL_FAST_MATH = YES;
@@ -527,7 +527,7 @@
527527
CODE_SIGNING_STYLE = Automatic;
528528
CODE_SIGN_ENTITLEMENTS = ios_package_test/ios_package_test.entitlements;
529529
INFOPLIST_FILE = ios_package_test/Info.plist;
530-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
530+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
531531
LD_RUNPATH_SEARCH_PATHS = (
532532
"$(inherited)",
533533
"@executable_path/Frameworks",
@@ -550,7 +550,7 @@
550550
CODE_SIGNING_STYLE = Automatic;
551551
CODE_SIGN_ENTITLEMENTS = ios_package_test/ios_package_test.entitlements;
552552
INFOPLIST_FILE = ios_package_test/Info.plist;
553-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
553+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
554554
LD_RUNPATH_SEARCH_PATHS = (
555555
"$(inherited)",
556556
"@executable_path/Frameworks",
@@ -571,7 +571,7 @@
571571
CODE_SIGN_STYLE = Automatic;
572572
CURRENT_PROJECT_VERSION = 1;
573573
GENERATE_INFOPLIST_FILE = YES;
574-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
574+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
575575
LD_RUNPATH_SEARCH_PATHS = (
576576
"$(inherited)",
577577
"@executable_path/Frameworks",
@@ -593,7 +593,7 @@
593593
CODE_SIGN_STYLE = Automatic;
594594
CURRENT_PROJECT_VERSION = 1;
595595
GENERATE_INFOPLIST_FILE = YES;
596-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
596+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
597597
LD_RUNPATH_SEARCH_PATHS = (
598598
"$(inherited)",
599599
"@executable_path/Frameworks",

tools/ci_build/github/apple/default_full_apple_framework_build_settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
],
2929
"iphoneos": [
3030
"--ios",
31-
"--apple_deploy_target=13.0"
31+
"--apple_deploy_target=15.1"
3232
],
3333
"iphonesimulator": [
3434
"--ios",
35-
"--apple_deploy_target=13.0"
35+
"--apple_deploy_target=15.1"
3636
]
3737
}
3838
}

tools/ci_build/github/apple/default_full_ios_framework_build_settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"--ios",
2525
"--use_xcode",
2626
"--use_xnnpack",
27-
"--apple_deploy_target=13.0"
27+
"--apple_deploy_target=15.1"
2828
],
2929
"iphonesimulator": [
3030
"--ios",
3131
"--use_xcode",
3232
"--use_xnnpack",
33-
"--apple_deploy_target=13.0"
33+
"--apple_deploy_target=15.1"
3434
],
3535
"macabi":[
3636
"--macos=Catalyst",

tools/ci_build/github/apple/default_training_ios_framework_build_settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
],
2626
"iphoneos": [
2727
"--ios",
28-
"--apple_deploy_target=13.0"
28+
"--apple_deploy_target=15.1"
2929
],
3030
"iphonesimulator": [
3131
"--ios",
32-
"--apple_deploy_target=13.0"
32+
"--apple_deploy_target=15.1"
3333
],
3434
"macosx": [
3535
"--macos=MacOSX",

0 commit comments

Comments
 (0)