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

Not working for IOS #100

Closed
GautamV234 opened this issue Jun 20, 2021 · 8 comments
Closed

Not working for IOS #100

GautamV234 opened this issue Jun 20, 2021 · 8 comments

Comments

@GautamV234
Copy link

Error output from Xcode build:

** BUILD FAILED **
Xcode's output:

/Users/user/Desktop/test/test/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'background_location' not found
@import background_location;
~~~~~~~^~~~~~~~~~~~~~~~~~~

@GautamV234
Copy link
Author

Can someone please help with this?

@manuel-junior
Copy link

I was facing the same problem
Try to remove ios folder and run flutter create .
Make sure to save old folder

@manuel-junior
Copy link

Are you using mac os?

@GautamV234
Copy link
Author

Are you using mac os?

Yes I am using Mac OS and want to run the app on the iOS emulator to test it on iOS so deleting the iOS folder wouldn't be the best thing to do.

@HugoYG
Copy link

HugoYG commented Jun 27, 2021

Just run this on your terminal.
rm ios/Podfile && flutter build ios

@GautamV234
Copy link
Author

Just run this on your terminal.
rm ios/Podfile && flutter build iOS

It is stated that this is needed for running the app on an actual IOS device but I just first want to run the device on an iOS simulator and have gotten the above error while trying to run on an emulator itself. How should I proceed?

@HugoYG
Copy link

HugoYG commented Jun 27, 2021

Run the command and then try to run the app on the IOS Simulator u should be fine.

@savassuphan
Copy link

savassuphan commented Jul 26, 2021

Merhaba dostum eğer sorunu çözemediysen hala xcode ile "Runner.xcworkspace" dosyasını aç ve pod klasörü altındaki paketlerin ios target seviyelerini 11 e çek düzelecektir.

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

5 participants