DarshanGowda0 / GeoFlutterFire

:fire:GeoFlutterFire:fire: is an open-source library that allows you to store and query firestore documents based on their geographic location.
https://youtu.be/MYHVyl-juUk
MIT License
305 stars 261 forks source link

Failed to build iOS app #22

Closed caestrada closed 5 years ago

caestrada commented 5 years ago

I get the following build issue as soon as i build with the geoflutterfire: ^2.0.3+2 package installed. Any help would be greatly appreciated.

Here is the log i get: `
Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ === BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug === /Users/carlose/flutter/.pub-cache/hosted/pub.dartlang.org/geoflutterfire-2.0.3+2/ios/Classes/Geo flutterfirePlugin.m:2:9: fatal error: 'geoflutterfire/geoflutterfire-Swift.h' file not found

import <geoflutterfire/geoflutterfire-Swift.h>

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Could not build the application for the simulator. Error launching application on iPhone X. `

Here is my dependencies list:

dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 firebase_core: ^0.3.1+1 cloud_firestore: ^0.9.7 firebase_auth: ^0.8.2+1 google_sign_in: ^3.2.4 rxdart: ^0.20.0 google_maps_flutter: ^0.4.0 location: ^2.3.2 geoflutterfire: ^2.0.3+2

ondrejromancov commented 5 years ago

I have the exact same problem

caestrada commented 5 years ago

@ondrejromancov did you figure out any workaround?

ondrejromancov commented 5 years ago

@caestrada I have just solved the problem by following this

caestrada commented 5 years ago

@ondrejromancov you got it!!! Thanks brother.

DarshanGowda0 commented 5 years ago

@caestrada Can you close the issue if it's solved?

spiderion commented 4 years ago

@caestrada I have just solved the problem by following this

Worked for me