From 26c1ce0a3a5ff64bef91a9c8164922b7fa97cb8b Mon Sep 17 00:00:00 2001 From: Igor Furgala Date: Fri, 23 Oct 2026 14:58:26 +0200 Subject: [PATCH] fix: building on newest xcode --- apps/example/ios/Podfile | 12 ++++++++++++ apps/example/ios/Podfile.lock | 10 +++++----- apps/example/package.json | 2 +- yarn.lock | 10 +++++----- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/apps/example/ios/Podfile b/apps/example/ios/Podfile index 1b4940253..48635a4e1 100644 --- a/apps/example/ios/Podfile +++ b/apps/example/ios/Podfile @@ -38,5 +38,17 @@ target 'EnrichedTextInputExample' do :mac_catalyst_enabled => false, # :ccache_enabled => true ) + + # Some pods (e.g. react-native-image-picker) still declare an iOS 9.0 target, + # which current Xcode refuses to build. + min_ios = Pod::Version.new(min_ios_version_supported) + installer.pods_project.targets.each do |target| + target.build_configurations.each do |bc| + current = bc.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] + if current && Pod::Version.new(current) < min_ios + bc.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = min_ios.to_s + end + end + end end end diff --git a/apps/example/ios/Podfile.lock b/apps/example/ios/Podfile.lock index 00354487c..6f1cd5092 100644 --- a/apps/example/ios/Podfile.lock +++ b/apps/example/ios/Podfile.lock @@ -1246,7 +1246,7 @@ PODS: - ReactCommon/turbomodule/core - ReactNativeDependencies - Yoga - - react-native-image-picker (8.2.1): + - react-native-image-picker (8.3.1): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1626,7 +1626,7 @@ PODS: - React-utils (= 0.87.0) - ReactNativeDependencies - ReactNativeDependencies (0.87.0) - - ReactNativeEnrichedHtml (1.1.0): + - ReactNativeEnrichedHtml (1.1.1): - hermes-engine - RCTRequired - RCTTypeSafety @@ -1968,7 +1968,7 @@ SPEC CHECKSUMS: React-Mapbuffer: 4b91498f164010499357104ef12cb3161ddbec9e React-microtasksnativemodule: e0095be041c79483d1d3fded0c682c31d351730f React-mutationobservernativemodule: edfe5f0e9548231a767c3a1db6fc52926da0002a - react-native-image-picker: 15b0d236cdc3b5f1f22574616d6ec97333cb9d37 + react-native-image-picker: 0b74cb8c8db4a7a9940067523436f17b014bbad5 React-NativeModulesApple: 9f0679a0f98eecd53150ebb6cba645f73a92434a React-networking: cabb0d227644bddc24f5e7dba0f5c4a8ea9b8723 React-oscompat: 72573ceb65b6c6c6bc34e51e0df8f44c91081a6d @@ -2005,10 +2005,10 @@ SPEC CHECKSUMS: ReactCodegen: b54c2a8d91c25df024024b078e9fd3cdf93ce8cf ReactCommon: 31d05b76329c8b3c9ef37fff8212f830925a2535 ReactNativeDependencies: ec5530432d8191b38e278117d498aaff05ea9d6f - ReactNativeEnrichedHtml: 862adfa2876f765869e6d27630d21f6e6e04bf25 + ReactNativeEnrichedHtml: 494c703157e37b8158fe254b6a62cb2e480453a1 SocketRocket: d57b1af80c029e12a75cd9b218287c67381e4593 Yoga: 58b502c52b14ad3c4468805d461fc37d275c2a42 -PODFILE CHECKSUM: 88c10840d02e9884b2dc3f457d5120f83ac3803b +PODFILE CHECKSUM: 17de42bc1248ff5392a5a74f9edf4660b05a1695 COCOAPODS: 1.15.2 diff --git a/apps/example/package.json b/apps/example/package.json index 70a835744..d84fcfc47 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -12,7 +12,7 @@ "dependencies": { "react": "19.2.3", "react-native": "0.87.0", - "react-native-image-picker": "^8.2.1" + "react-native-image-picker": "^8.3.0" }, "devDependencies": { "@babel/core": "^7.25.2", diff --git a/yarn.lock b/yarn.lock index 4c7c6582f..c839160f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11820,7 +11820,7 @@ __metadata: react: "npm:19.2.3" react-native: "npm:0.87.0" react-native-builder-bob: "npm:^0.40.18" - react-native-image-picker: "npm:^8.2.1" + react-native-image-picker: "npm:^8.3.0" react-native-monorepo-config: "npm:0.3.3" languageName: unknown linkType: soft @@ -11908,13 +11908,13 @@ __metadata: languageName: unknown linkType: soft -"react-native-image-picker@npm:^8.2.1": - version: 8.2.1 - resolution: "react-native-image-picker@npm:8.2.1" +"react-native-image-picker@npm:^8.3.0": + version: 8.3.1 + resolution: "react-native-image-picker@npm:8.3.1" peerDependencies: react: "*" react-native: "*" - checksum: 10c0/82b6c51ece8d16806975aff7675d26280fdd2391c05ca9415620195cc6643ca0db4601d3b24e117d7f5331c2e55ba7c03090d276e55b3b5687a636245428a047 + checksum: 10c0/48d55c62f43564f0cdaa4a74936bb74ba96f5ba8424008ab0a4e968fe2982105d2e4664d6179494f7efa42984822e6270582c6567d4dd3ceca7ac01da91829bc languageName: node linkType: hard