Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native requires XCode >= 14.3. Found 14.2. #44421

Closed
mustafaerken opened this issue May 6, 2024 · 2 comments
Closed

React Native requires XCode >= 14.3. Found 14.2. #44421

mustafaerken opened this issue May 6, 2024 · 2 comments

Comments

@mustafaerken
Copy link

mustafaerken commented May 6, 2024

Description

Device: MacBook Pro (Retina, 15-inch, Mid 2015).
macOS: 12.7.4 (Monterey).
xCode: 14.2 (This is the last version for my MacBook Pro Mid 2015.).

This error occurs:

  1. Making new project
  2. Pod install on existed project.

Steps to reproduce

npx react-native@latest init AwesomeProject
cd AwesomeProject/ios
pod install

React Native Version

0.74.1

Affected Platforms

Build - MacOS

Output of npx react-native info

(node:47847) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 12.7.4
  CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Memory: 5.00 GB / 16.00 GB
  Shell:
    version: 5.8.1
    path: /bin/zsh
Binaries:
  Node:
    version: 22.1.0
    path: /usr/local/bin/node
  Yarn: Not Found
  npm:
    version: 10.7.0
    path: /usr/local/bin/npm
  Watchman:
    version: 2024.05.02.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/mustafa/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 22.2
      - iOS 16.2
      - macOS 13.1
      - tvOS 16.1
      - watchOS 9.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.3 AI-233.14808.21.2331.11709847
  Xcode:
    version: 14.2/14C18
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.7.6
    path: /Users/mustafa/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.1
    wanted: 0.74.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs

ios % pod install
(node:47732) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
React Native requires XCode >= 14.3. Found 14.2.

[!] Invalid `Podfile` file: Please upgrade XCode.

 #  from /Users/thisUser/Projects/App01/ios/Podfile:20
 #  -------------------------------------------
 >    use_react_native!(
 #      :path => config[:reactNativePath],
 #  -------------------------------------------

Reproducer

https://github.com/shahjahanpak/AwesomeProject

Screenshots and Videos

This is making new projects error.
Screen Shot 2024-05-06 at 14 15 59

This is pod install error.
Screen Shot 2024-05-06 at 14 06 39

@github-actions github-actions bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels May 6, 2024
Copy link

github-actions bot commented May 6, 2024

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@cortinico
Copy link
Contributor

Duplicates #44384

@cortinico cortinico added Resolution: Duplicate and removed Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍 Needs: Author Feedback labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants