question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Initialize new react native app with version v0.68

See original GitHub issue

Description

Hi guys, I got problems when I initialize a new app from version >= v0.67. I already installed cocoapods, but still get that fails.

Here is the error I got z3311341821113_b52d331c7b980b92b539459b7fbdd001

Cocoapods Screen Shot 2022-04-02 at 23 44 38

Version

0.68.0

Output of npx react-native info

System: OS: macOS 12.3 CPU: (10) x64 Apple M1 Pro Memory: 34.76 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm Watchman: 2022.03.14.00 - /usr/local/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.3/13E113 - /usr/bin/xcodebuild Languages: Java: Not Found npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.0 => 0.68.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

npx react-native init newApp

Snack, code example, screenshot, or link to a repository

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
mikehardycommented, Apr 2, 2022

I have the same problem, using rvm I keep ruby and cocoapods (installed in the rvm-installed ruby’s set of gems) current so I can help stop problems before others get them mostly (like this, was super fun https://github.com/CocoaPods/CLAide/issues/98)

the .ruby-version thing is what stops it from working for me. One of the first things I do is delete all the gemfile/bundle stuff post-0.67 then install

https://github.com/mikehardy/rnfbdemo/blob/1328c44290ff4d9e64004ffa68962982e6fe2107/make-demo.sh#L55-L62

# New versions of react-native include annoying Ruby stuff that forces use of old rubies. Obliterate.
if [ -f Gemfile ]; then
  rm -f Gemfile* .ruby*
fi


# Now run our initial dependency install
yarn
npm_config_yes=true npx pod-install
1reaction
pushpender-singh-apcommented, Apr 2, 2022

Hi @pushpender-singh-ap , Do you use RVM? Which version of your RVM?

It’s already installed in my MacBook Pro so I don’t update and install it and the version is ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21].

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing React Native 0.68
Today we are announcing the 0.68.0 release of React Native, with opt-in to the New React Native Architecture, bug fixes and more.
Read more >
React Native init specific version - Stack Overflow
I upgraded my latest project to React Native 0.19 and instantly the video no longer works. How can I create a new project...
Read more >
react-native - npm
A framework for building native apps using React. Latest version: 0.70.6, last published: a month ago. Start using react-native in your ...
Read more >
Create a New React App
Scaling to many files and components. Using third-party libraries from npm. Detecting common mistakes early. Live-editing CSS and JS in development. Optimizing ...
Read more >
What's New In The Latest Version Of React Native v0.68?
React Native is an open-source JavaScript framework that allows you to create apps for many platforms, including iOS, Android, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found