loup-v / geolocation

Flutter geolocation plugin for Android and iOS.
Apache License 2.0
226 stars 94 forks source link

iOS build fails #29

Closed manuelgomes2 closed 6 years ago

manuelgomes2 commented 6 years ago

running flutter build ios --release :

=== BUILD TARGET firebase_messaging OF PROJECT Pods WITH CONFIGURATION Release ===
/Users/****/development/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator-0.0.1/ios/Classes/GeolocatorPlugin.m:2:9: fatal error: 'geolocator/geolocator-Swift.h' file not found
#import <geolocator/geolocator-Swift.h>

My doctor output: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel dev, v0.5.5, on Mac OS X 10.13.3 17D102, locale pt-PT) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.io/setup/#android-setup for detailed instructions). If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location. [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) [✗] Android Studio (not installed) [!] VS Code (version 1.14.2) [!] Connected devices ! No devices available

lukaspili commented 6 years ago

This error is about another plugin named geolocator. The name of this plugin is geolocation.

lukaspili commented 6 years ago

Let me know if you find anything related to geolocation plugin. I will close in the meantime.