Alec Lorraine
Alec Lorraine

Reputation: 398

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?

Upvotes: 11

Views: 10330

Answers (5)

ABHILASH BHOSLE
ABHILASH BHOSLE

Reputation: 1

enter in ios folder => cd ios

then run => gem install CFPropertyList

Upvotes: 0

Ten
Ten

Reputation: 1646

try

gem install CFPropertyList

update "You don't have write permissions for the ..."

sudo gem install CFPropertyList

Upvotes: 32

shiraz27
shiraz27

Reputation: 2636

The problem was with my Ruby version :

  1. Install rvm (if you don't have it) \curl -sSL https://get.rvm.io | bash
  2. install latest ruby (3.0.0p0) rvm install ruby@latest and set it as default rvm use ruby-3.0.0 --default
  3. A few times install cocoapods gem install cocoapods
  4. pod install

Upvotes: 0

Kumar Parth
Kumar Parth

Reputation: 569

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

Upvotes: 4

Bimawa
Bimawa

Reputation: 3700

I date with it error on cocoapods plugin:

enter image description here

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.

Upvotes: 5

Related Questions