pinkfish / flutter_places_dialog

Google places picker plugin for flutter. Opens up the google places picker on ios and android returning the chosen place back to the flutter app.
Other
44 stars 10 forks source link

Unable to build IOS #13

Open 9thwall opened 5 years ago

9thwall commented 5 years ago

Hi, Android build was completely fine and was able to release. However IOS I'm getting this error...

=== BUILD TARGET FirebaseFirestore OF PROJECT Pods WITH CONFIGURATION Release === /Users/Leo/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_places_dialog-1.0.3/ios/Classes/SwiftFlutterPlacesDialogPlugin.swift:41:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block } catch { ^ /Users/Leo/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_places_dialog-1.0.3/ios/Classes/SwiftFlutterPlacesDialogPlugin.swift:41:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block } catch { ^ === BUILD TARGET FirebaseFunctions OF PROJECT Pods WITH CONFIGURATION Release === /Users/Leo/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_places_dialog-1.0.3/ios/Classes/FlutterPlacesDialogPlugin.m:3:9: fatal error: 'flutter_places_dialog/flutter_places_dialog-Swift.h' file not found

import <flutter_places_dialog/flutter_places_dialog-Swift.h>

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
n-keist commented 5 years ago

I'm getting the same issue here. Although it was working in older projects I think.

EDIT: This plugin is only working with Swift.

jyothyanna93 commented 5 years ago

could not build for ios.

AamirSk commented 4 years ago

For me also worked fine with Android but when tried with iOS, getting a compiler error. Any clue on this..?