liodali/osm_flutter

IOS issue with 1.3.3

Closed this issue · 3 comments

Hello,

I am testing the apple version of flutter osm 1.3.3 and I get the following issue during the IOS build :

Swift Compiler Error (Xcode): Cannot find type 'PolylineType' in scope
/Users/home/.pub-cache/hosted/[pub.dev/flutter_osm_plugin-1.3.3/ios/flutter_osm_plugin/Sources/flutter_osm_p](http://pub.dev/flutter_osm_plugin-1.3.3/ios/flutter_osm_plugin/Sources/flutter_osm_p)
lugin/Extension.swift:58:29


Swift Compiler Error (Xcode): Extra argument 'polylineType' in call
/Users/home/.pub-cache/hosted/[pub.dev/flutter_osm_plugin-1.3.3/ios/flutter_osm_plugin/Sources/flutter_osm_p](http://pub.dev/flutter_osm_plugin-1.3.3/ios/flutter_osm_plugin/Sources/flutter_osm_p)
lugin/Extension.swift:55:40

did you try to run in ios folder pod update ?

rm pod folder && flutter pub upgrade && cd ios && pod update did the trick.

You can close. Many thanks

rm pod folder && flutter pub upgrade && cd ios && pod update did the trick.

You can close. Many thanks