building an existing react native application issue (cocoapods) - ios

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.

Related

Riot-iOS Error: while run bundle exec pod install

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

not available Gem::SafeYAML when to run 'bundle install'

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

Fastlane Beta: Bundler::GemNotFound: Could not find CFPropertyList-3.0.0 in any of the sources

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

Could not find json-1.8.6 in any of the sources Run `bundle install` to install missing gems

When trying to run rails s, I got the above error Could not find json-1.8.6 in any of the sources Run bundle install to install missing gems. This is what I've tried so far:
bundle install
bundle update
bundle exec bundle install
bundle update json
gem install json
gem install json -v '1.8.6'
These commands fixed the issue:
brew update
brew install coreutils
Then I ran bundle install and json loaded properly.

Getting error on command "bundle install mysql"

I'm trying to install rails to run an app, and I'm using the directions from a stack overflow question
but when i try to do the step
"bundle install mysql" I'm getting the error "ERROR: 'bundle install' was called with arguments["mysql"]
Usage:"bundle install"
I would love to get some help...
As #bjhaid pointed out, you type either
bundle install
or
gem install <package>
bundle install is for installing all packages listed in the Gemfile.

Resources