I have tried to run a project
So, I download a files and run a build instructions.
When I run a
bundle exec pod install
is showing error. I can't able to understand. Please help me.
After that I have run below commands
brew update
brew install cmake
Now error was showing like
I found a solution for this question and now workspace was created.
Before I run this command bundle exec have to run Xcode-select
Like
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
bundle exec pod install
Related
I am trying to build a react native application. I am running into the issue bellow:
I am working with existing react native project
Could not find cocoapods-core-1.8.4 in any of the sources
Run `bundle install` to install missing gems.
Could not find cocoapods-core-1.8.4 in any of the sources
Run `bundle install` to install missing gems.
what code is sh file is:
npm install
cd ios
bundle exec pod repo update
bundle exec pod install
cd ..
I already uninstalled and reinstalled cocoapods
What else can i do?
As the error comment said:
Run bundle install
You are using bundler, you need to install the ruby dependencies before to run any bundle exec command.
I don't know what went wrong, everything was working fine until terminal showed me Popup and my default terminal which used to open with nileshjha#Nileshs-MacBook-Air $ changed to nileshjha#Nileshs-MacBook-Air ~ % .. And after that pod stopped working. I tried all ways to change it back to previous . But didn't succeed.
Now when i am doing pod init , I am getting this error.
zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
Can you please help me out of this.
I have MacOS Catalina, and am trying to update cocoa pods.
I received an error when I tried running pod update
Here is the error message:
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
Next, I ran sudo gem install cocoapods
That was all that was needed. pod update worked fine after that
The same initial issue occurred when attempting to setup GoogleMaps in a Flutter app after running pod install on the iOS directory.
Running pod install the following error appeared:
zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
Next, after running sudo gem install cocoapods, that resulted in another error:
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
kevin recommends installing Xcode Developer Tools running:
xcode-select --install
and while highlighting the need to install the tools, the system again produced the same error as before when running the pod install command.
Refresing the tools by removing and reinstalling them became the next target. The tools are removed with the following command:
rm -rf /Library/Developer/CommandLineTools
And again installing the xcode developer tools using:
xcode-select --install
Then, sudo gem install cocoapods and pod install ran successfully.
When I try to run bundle install from the project, I get the following error:
unavalible Gem :: SafeYAML when to run 'bundle install'
my version of rubygem is:
2.0.14
After investigating what I could solve with the following steps:
1.-Download the zip file from the following download and add it to the root of the project
2.- If you don't have any RubyGems installed, there is still the pre-gem approach to getting software, doing it manually:
2.1-Download from above
2.2-Unpack into a directory and cd there
2.3-Install with: ruby setup.rb (you may need admin/root privilege)
2.4- like sudo:
gem update --system
3. run:
bundle install
Running fastlane beta and getting this error:
Bundler::GemNotFound: Could not find CFPropertyList-3.0.0 in any of the sources
I tried installing the gem through the terminal, adding it to my gemfile, updating my fastlane version... no luck. Any ideas?
try
gem install CFPropertyList
update "You don't have write permissions for the ..."
sudo gem install CFPropertyList
I date with it error on cocoapods plugin:
I tried install CFPropetyList-3.0.0 manualy - not help, I did updates for all gems - no help.
Helped only: fastlane install_plugins command, it's updated cocoapods plugin for fastlane and now worked fine.
P.S. This error start to show after update to Mojave OS.
Update all gems:
sudo gem update --system
if this leads you to some error like:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted # rb_sysopen -
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/gem
Try running command:
sudo gem install -n /usr/local/bin cocoapods
This will remove this error Could not find CFPropertyList-3.0.0 in any of the sources
If you get error like this with bundle install while uploading you mobile app then go inside of the android/ios folder and run command:
bundle install
The problem was with my Ruby version :
Install rvm (if you don't have it) \curl -sSL https://get.rvm.io | bash
install latest ruby (3.0.0p0) rvm install ruby#latest and set it as default rvm use ruby-3.0.0 --default
A few times install cocoapods gem install cocoapods
pod install
Trying to install appium-xcuitest-driver
I am getting the following error:
stderr: xcode-select: error: tool 'xcodebuild' requires Xcode, but
active developer directory '/Library/Developer/CommandLineTools'
is a command line tools instance
I have xcode installed and up and running and every solution that I am coming across says to install Xcode, so I am not sure about what to do.
Simply run sudo xcode-select -r which should automatically reset the path.
then run the following command npm install -g ios-deploy