Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the app after adding package Geolocator #20

Open
matheb04 opened this issue Dec 6, 2020 · 1 comment
Open

Unable to run the app after adding package Geolocator #20

matheb04 opened this issue Dec 6, 2020 · 1 comment

Comments

@matheb04
Copy link

matheb04 commented Dec 6, 2020

I am getting the following error after adding the geolocator package to my project.
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Upgrading project.pbxproj
Legacy build system detected, removing /Users/xxxxxxxxxxxxxxx/Documents/development/android_studio_projects/Clima-Flutter/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
Project base configurations detected, removing.
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 https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

CocoaPods not installed or not in valid state.
Error launching application on iPhone 11 Pro Max.

@zjdaniels1985
Copy link

zjdaniels1985 commented Jun 12, 2021

You need to install cocoapods on your mac:

M1 mac (not old or intel cpu):

open Terminal type in the following:

sudo arch -x86_64 gem install ffi

Next, install Cocoapods:

sudo gem install cocoapods

Intel CPU mac (not Apple Silicon M1):

open Terminal type in the following:

sudo gem install cocoapods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants