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

iOS does not build #19

Closed
imtoori opened this issue Feb 11, 2018 · 3 comments
Closed

iOS does not build #19

imtoori opened this issue Feb 11, 2018 · 3 comments

Comments

@imtoori
Copy link

imtoori commented Feb 11, 2018

This is the error it gives:

GeneratedPluginRegistrant.m:6:9: fatal error: 'location/LocationPlugin.h' file not found #import <location/LocationPlugin.h>

@jalakoo
Copy link

jalakoo commented Feb 27, 2018

I'm encountering the same issue. Is it because the pod file needs to be completed?

@MizukiSonoko
Copy link

MizukiSonoko commented Mar 7, 2018

I'm encountering this too.
and I solved it (still I think dirty solution....)

Step 1)

mkdir ios/Pods/Headers/location/

Step 2)

cp ~/.pub-cache/hosted/pub.dartlang.org/location-1.1.7/ios/Classes/* ios/Pods/Headers/location/

Step 3)

  • Open Xcode
  • Build settings -> Search Paths -> Header Search Paths
    Add "${PODS_ROOT}/Headers" to Header Search Paths

Step 4)

Run

In my opinion, This solution is not correct, so Could you tell me correct it 🙇

@JoeCherry
Copy link

If you created your flutter project with the iOS flag, follow the instructions here flutter/flutter#15099

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