Skip to content

0.72.9 break compatibility with ios 12.4 #42199

Closed
@RWanDev

Description

@RWanDev

Old Version

0.72.8

New Version

0.72.9

Description

@cipollesch
I have tried to upgrade from 0.72.8 to 0.72.9, but ios minimum deployment target seems to have changed to 13.4 :
This commit update min_ios_version_supported form 12.4 to 13.4, is it a mistake ?

Steps to reproduce

  1. update project with platform :ios, '12.4' from react-native 0.72.8 to 0.72.9
  2. Try to update pod

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 14.2.1
  CPU: (8) arm64 Apple M2
  Memory: 83.05 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: /var/folders/s2/th11vwsn571g1hn8k2n257_r0000gn/T/yarn--1704818704154-0.10619672940231895/node
  Yarn:
    version: 1.22.19
    path: /var/folders/s2/th11vwsn571g1hn8k2n257_r0000gn/T/yarn--1704818704154-0.10619672940231895/yarn
  npm:
    version: 9.8.1
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 2023.09.25.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9514443
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.20.1
    path: /Users/x/.jenv/shims/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.9
    wanted: 0.72.9
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

$pod update
...
[!] CocoaPods could not find compatible versions for pod "React-debug":
  In Podfile:
    React-debug (from `../node_modules/react-native/ReactCommon/react/debug`)

Specs satisfying the `React-debug (from `../node_modules/react-native/ReactCommon/react/debug`)` dependency were found, but they required a higher minimum deployment target.

$pod install
...
[!] The platform of the target `ReproducerApp` (iOS 12.4) may not be compatible with `React-Codegen (0.72.9)` which has a minimum requirement of iOS 13.4.

[!] The platform of the target `ReproducerApp` (iOS 12.4) may not be compatible with `React-debug (0.72.9)` which has a minimum requirement of iOS 13.4.

Reproducer

https://github.com/RWanDev/reproducer-react-native

Screenshots and Videos

No response

Metadata

Metadata

Assignees

Labels

Platform: iOSiOS applications.Resolution: FixedA PR that fixes this issue has been merged.Type: Upgrade IssueIssues reported from upgrade issue form

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions