flutter_places_dialog icon indicating copy to clipboard operation
flutter_places_dialog copied to clipboard

Unable to build IOS

Open 9thwall opened this issue 6 years ago • 3 comments

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.

9thwall avatar Jan 17 '19 22:01 9thwall

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

EDIT: This plugin is only working with Swift.

n-keist avatar Jan 22 '19 09:01 n-keist

could not build for ios.

jyothyanna93 avatar Jan 23 '19 13:01 jyothyanna93

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

AamirSk avatar Mar 28 '20 05:03 AamirSk