victorbonnet / flutter_web_browser

Plugin for flutter to open web page with Chrome Custom Tabs and SFSafariViewController
MIT License
63 stars 44 forks source link

Cant Get iOS to build #3

Closed mpiannucci closed 6 years ago

mpiannucci commented 6 years ago

The example in this repo works, but when including this plugin via git, the following error shows when building for iOS:

/Users/matthew/Development/hackwinds_cameras/hackwinds_cameras/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_web_browser/FlutterWebBrowserPlugin.h' file not found
    #import <flutter_web_browser/FlutterWebBrowserPlugin.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.

Any help would be awesome. Otherwise I can just re-write it myself for local use. Thanks!

mpiannucci commented 6 years ago

Looking into it... it works without swift enabled... so this is a flutter issue. The plugin is great