Initialize new react native app with version v0.68
See original GitHub issueDescription
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
Cocoapods
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:
- Created a year ago
- Reactions:2
- Comments:13 (3 by maintainers)
Top GitHub Comments
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 installhttps://github.com/mikehardy/rnfbdemo/blob/1328c44290ff4d9e64004ffa68962982e6fe2107/make-demo.sh#L55-L62
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]
.