-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
pod install failed due to glog during project initialisation #34443
Comments
Potentially related to: Can you run Also have you installed XCode? Could you run |
Thanks for looking into this! I'm using XCode Version 13.4.1 (13F100) and have select Command Line Tools from its Locations tab. I also tried:
react-native doctor:
env:
|
Closing as this is not a React Native issue. First, I would try to remove the remove the CPATH variable with Plus your environment is full of custom flags. You will most likely have other problems. I would try to:
(or a combination of those) and try to |
Thanks! I removed these flags and clear the anaconda3 added stuff in the ./bash_profile file and pod install succeeded! |
swift集成RN,pod install之后就报错/Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': can't modify frozen String: "relative URI: /Users/hepengcheng/Desktop/ReactNative&Native/testReactNative/ios/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" (FrozenError) 这个如何解决呢 下面是打印信息 pod install 10: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/bin/ruby_executable_hooks:22:in eval' 9: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/bin/pod:23:in '8: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/bin/pod:23:in load' 7: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/bin/pod:55:in <top (required)>'6: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in run' 5: from /Users/hepengcheng/.rvm/rubies/ruby-2.7.5/lib/ruby/gems/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:324:in run'4: from /Users/hepengcheng/.rvm/rubies/ruby-2.7.5/lib/ruby/gems/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:337:in rescue in run' 3: from /Users/hepengcheng/.rvm/rubies/ruby-2.7.5/lib/ruby/gems/2.7.0/gems/claide-1.1.0/lib/claide/command.rb:396:in handle_exception'2: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:66:in report_error' 1: from /Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/lib/cocoapods/user_interface/error_report.rb:34:in report'/Users/hepengcheng/.rvm/gems/ruby-2.7.5/gems/cocoapods-1.11.3/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': can't modify frozen String: "relative URI: /Users/hepengcheng/Desktop/ReactNative&Native/testReactNative/ios/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" (FrozenError) env |
Description
Got the below error
When following the initialization guide: https://reactnative.dev/docs/environment-setup (MacOS and iOS).
Version
0.69.4
Output of
npx react-native info
Steps to reproduce
I follow the guide (https://reactnative.dev/docs/environment-setup). After "npx react-native init AwesomeProject", the following error pops up:
After running "cd ./ReactNativeAttentionTestApp/ios && pod install", the issue occurs.
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: