Macos Mojave 'Ruby/Config.H' File Not Found

gem install - fatal error: 'ruby/config.h' file not found in Mojave

If you have the Xcode 10 beta running this might fix it

sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer

Error installing CocoaPods - macOS BigSur

Well, today I was able to finally install Cocoapods successfully, but it was a weird process.

When learning people usually tell you to stay away from betas, and while I was in the stable AppStore-version of Xcode, I was running Big Sur B9; and that could have been the problem.
I completely uninstalled Xcode 12.0.1 and then downloaded from Apple Developer Xcode 12.2 beta. I then downloaded and installed the command line tools also for 12.2 beta, and ran again the cocoapods installation in Terminal… and voila!

After installing and running Xcode beta I was able to install and now works fine.
Maybe when BigSur becomes public this will be solved? Because not everyone needs or has to run Xcode beta versions.

Xcode 7.3.1 cannot be opened in MacOS Mojave

I have experienced the same issue after upgrading to macOS Mojave. The only solution which I had to do is to download Xcode 8 and migrate to Swift 3.

Incase there're any alternatives, please share!



Related Topics



Leave a reply



Submit