Unable to run iOS Emulator

Hi,

I am trying to run the iOS Emulator, but get the following error in the logs:

Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side’s plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see Using packages | Flutter
To install see CocoaPods Guides - Getting Started for instructions.

CocoaPods not installed or not in valid state.

Error launching application on iPhone 15.

I have CocoaPods installed and I don’t know what’s wrong.

Thanks for your help.

Hey @malte

So this is a problem you have isn’t related to Nowa but it’s because the iOS emulator needs Cocopod installed, and seems you either don’t have it or it’s outdated.

try to run this pod --version to check the version you have.

If it’s not there simply install it by running

sudo gem install cocoapods

You can also search for installing it. Hope this helps :slight_smile:

Hi, sorry for the late reply.

I knew it wasn’t a problem with Nowa, but thought maybe there was a certain way to install it because I tested many ways and nothing worked. Finally, the last one I tried worked. So I had to run:

sudo gem install -n /usr/local/bin cocoapods

not just

sudo gem install cocoapods

Might be interesting for other users :slight_smile: