-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
After upgrading to latest version of gems and cocoa pods can run any pod commands #12080
Comments
Had the same issue. |
Getting suddenly the same - seems to be related to ActiveSupport 7.1.0 update which removed some deprecation stuff |
Anybody that has the same problem, the answer was posted in a different issue: #12081 (comment) WORKAROUND: |
For those who tries to build Xcode project: |
Add this line to Gemfile of your project folder
|
I am also encountering a similar error. It occurs when I create a React Native project. Following the steps above resolves the issue in only one project, but I keep encountering this error every time I create a new project. Downloading template ✖ Installing CocoaPods dependencies (this may take a few minutes) error Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/environment-setup?os=macos&platform=android and follow the React Native CLI QuickStart guide for macOS and iOS. cocoapods: 1.13.0 |
I also started having this error creating a project. but when I run pod install on an existing project it also happens. I managed to solve it paleatively with the steps recommended above, I believe it will only stabilize once and for all when they resolve it and release a release of CocoaPods. |
Confirming this solutions works. I suggest everyone also uninstall cocoapods and active support -> then upgrade their ruby to 3.2.2 -> then install activesupport -> cocoapods. |
Confirm this works. But it was because my company project requires pod 1.13.0 and ruby 2.7.6. It is still suggested to upgrade ruby to 3.x and upgrade cocoapod |
Wow, spent 4 hours troubleshooting this BS trying to get Flutter working correctly on OSX because of this dumb issue. The cocoapod install instructions are bad. There are so many inconsistencies on people saying to use sudo or not to use sudo when installing it. But the bigger issue was that I needed to use version 7.0.8 to get pass the ActiveSupport error with Ruby 3 on OSX Ventura. |
This appears to be still an issue, the solution proposed is a workaround but the CocoaPods team needs to pin their activesupport dependency to 7.0.8. There is a limitation in the ruby bundler Gemfile where even if you pin |
The activesupport issue is addressed for me in CocoaPods 1.14.2 (corrected thanks to @gaberogan) |
@paulb777 1.13.2 does not exist but I can confirm it is fixed in 1.14.2 🥳 |
What did you do?
try to run pod install
What did you expect to happen?
Install all pod dependencies correctly.
What happened instead?
I get the following error:
CocoaPods Environment
when trying pod env, i get the same error
The text was updated successfully, but these errors were encountered: