fermoya / cocoapods-catalyst-support

Ruby extensions to help you configure your pods project so that pods not compiled for Catalyst can still be used for iOS devices
MIT License
111 stars 18 forks source link

[BUG] Installing error #28

Closed franciscorosso closed 2 years ago

franciscorosso commented 3 years ago

I am getting error after installing cocoapods-catalyst-support on my M1 Mac.

I tried sudo gem install cocoapods-catalyst-support. The gem installs OK, but then when I want to run pod catalyst init I got this error [!] Unknown command: catalyst

Thanks in advance for your help, Francisco.

markrachapoom commented 2 years ago

I experienced bug like this too

luca992 commented 2 years ago

Same. Did you ever resolve it?

luca992 commented 2 years ago

Figured it out:

First add this Gemfile to the root of you project:

Run bundle install

bundle exec pod catalyst init

So I guess you need to prepend bundle exec to your pod commands