flutter_places_dialog
flutter_places_dialog copied to clipboard
Unable to build IOS
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.
I'm getting the same issue here. Although it was working in older projects I think.
EDIT: This plugin is only working with Swift.
could not build for ios.
For me also worked fine with Android but when tried with iOS, getting a compiler error. Any clue on this..?