ios – Pod couldn’t be put in on macOS 15.0 React Native

0
22
ios – Pod couldn’t be put in on macOS 15.0 React Native


A few days in the past I improve my Mac to MacOS 15 Sequoia. However at this time when I attempt to set up pod in a single mission I bought an error associated to cocoaPods and ruby

$ npx pod-install ios
Scanning for pods...
/decide/homebrew/bin/pod: /decide/homebrew/Cellar/cocoapods/1.15.2_1/libexec/bin/pod: /decide/homebrew/decide/ruby/bin/ruby: unhealthy interpreter: No such file or listing
/decide/homebrew/bin/pod: line 2: /decide/homebrew/Cellar/cocoapods/1.15.2_1/libexec/bin/pod: Undefined error: 0
› Making an attempt to put in CocoaPods CLI with Gem
ERROR:  Whereas executing gem ... (Gem::FilePermissionError)
    You do not have write permissions for the /Library/Ruby/Gems/2.6.0 listing.
Your password could be wanted to put in CocoaPods CLI: https://guides.cocoapods.org/utilizing/getting-started.html#set up
Password:
ERROR:  Error putting in cocoapods:
    The final model of drb (>= 0) to help your Ruby & RubyGems was 2.0.6. Strive putting in it with `gem set up drb -v 2.0.6` after which working the present command once more
    drb requires Ruby model >= 2.7.0. The present ruby model is 2.6.10.210.
› Failed to put in CocoaPods CLI with Gem

I’ve one other mission that works tremendous and I attempted to take away the pod and reinstall. This mission began to fail as effectively.

I examine the react-native physician command and I bought this:

Widespread
 ✓ Node.js
 ✓ yarn
 ✓ Watchman - Used for watching adjustments within the filesystem when in improvement mode

Android
 ✓ JDK
 ✓ Android Studio - Required for constructing and putting in your app on Android
 ✓ Android SDK - Required for constructing and putting in your app on Android
 ✓ ANDROID_HOME

iOS
 ✓ Xcode - Required for constructing and putting in your app on iOS
 ✖ CocoaPods - Required for putting in iOS dependencies
   - Model discovered: N/A
   - Model supported: >= 1.10.0
 ✓ ios-deploy - Required for putting in your app on a bodily gadget with the CLI
 ✓ .xcode.env - File to customise Xcode atmosphere

Attempt to repair the issue with it, however at the moment does not work. The issue persist.

Right here my system data

System:
    OS: macOS 15.0
    CPU: (8) arm64 Apple M1
    Reminiscence: 131.61 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.8.0 - /decide/homebrew/bin/node
    Yarn: 1.22.21 - /decide/homebrew/bin/yarn
    npm: 10.8.2 - /decide/homebrew/bin/npm
    Watchman: 2024.09.02.00 - /decide/homebrew/bin/watchman
  Managers:
    CocoaPods: Not Discovered
  SDKs:
    iOS SDK:
      Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0
    Android SDK:
      API Ranges: 33, 34
      Construct Instruments: 30.0.3, 33.0.0, 33.0.1, 34.0.0
      System Pictures: android-33 | Google APIs ARM 64 v8a, android-34 | Google APIs ARM 64 v8a
      Android NDK: Not Discovered
  IDEs:
    Android Studio: 2023.1 AI-231.9392.1.2311.11076708
    Xcode: 16.0/16A242d - /usr/bin/xcodebuild
  Languages:
    Java: 17.0.12 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Discovered
    react: 18.2.0 => 18.2.0
    react-native: 0.71.1 => 0.71.1
    react-native-macos: Not Discovered

To complete that is what I bought when tried to put in cocoapods manually.

CocoaPods (putting in with gem)(node:10050) [DEP0053] DeprecationWarning: The `util.isObject` API is deprecated. Please use `arg !== null && typeof arg === "object"` as an alternative.
(Use `node --trace-deprecation ...` to indicate the place the warning was created)
(node:10050) [DEP0049] DeprecationWarning: The `util.isFunction` API is deprecated.  Please use `typeof arg === "operate"` as an alternative.
 ✖ CocoaPods (putting in with gem)

LEAVE A REPLY

Please enter your comment!
Please enter your name here