pod install error after macOS Catalina

Rathish Kannan
1 min readJul 6, 2020

--

Scenario

  • Happens when macOS updated
  • Reinstalling macOS
  • ~Library is corrupted or moved/ deleted

Install pod on your system

$ sudo gem install cocoapods

Ideally cocoapods should install here, but it gives error

Error installing cocoapods:
ERROR: Failed to build gem native extension.

Solution

Ref: https://github.com/CocoaPods/CocoaPods/issues/8955

Install cocoapods through brew

brew install cocoapods --build-from-source

Now link to the current version

brew link — overwrite cocoapods

If you get error from ruby, then you need to install ruby

Ref: https://github.com/fastlane/fastlane/issues/15460

$ brew install ruby

Perform pod install from your directory

`cocoapods-art` is missing

install missing gem `cocoapods-art`

sudo gem install cocoapods-art

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response