Closed gjae closed 1 year ago
i will do quick fix for it
check the new version 0.70.2
Hello, same problem here.
Lib version: flutter_osm_plugin: ^0.70.3
Simulator: Simulator iPhone 14 PRO MAX - iOs 16.4
Pod file: platform :ios, '13.0'
flutter doctor
Error
try to run flutter clean and flutter pub get
First of all, thanks for the quick answer
I tried
flutter clean
flutter pub get
and still got error.
try to go to that location deleted and run flutter pub upgrade
flutter pub upgrade
output No dependencies changed in ...
And still got error.
What location deleted?
sorry for late reply i mean in .pub-cache remove the latest version and try to get it again
No worries, thanks for your time
I remove .pub_cache
folder.
Then flutter clean
, and then flutter pub get
and still get the same error.
It's very weird. Anyway... thanks for your time
Only if its help you: I tried to remove all dart&flutter installations and reinstall. Then i create a new empty/fresh project only with osm_flutter package and I get the same errror.
I don't know if the bug is related with my local installation. Or something related with cache folders.
@liodali
The issue fix is not present in the latest version v0.7.4
.
According to this commit and the current production version doesn't include this fix.
try the latest dev version : 1.0.0-dev
Hi @liodali, I solved by replacing line 172 in MyMapView.swift let url = if (fromAsset){ Bundle.main.url(forAuxiliaryExecutable: dynamicOSMPath!)! } else { URL(string: urlStyle)! }
whit this
var url: URL { if (fromAsset){ return Bundle.main.url(forAuxiliaryExecutable: dynamicOSMPath!)! } else { return URL(string: urlStyle)! } }
Can you release a new version with this fix?
use our dev version we dont use tangram sdk for ios anymore
@liodali if I use version 1.0.0-dev I no longer have the markerOption attribute in OSMOption
@liodali if I use version 1.0.0-dev I no longer have the markerOption attribute in OSMOption
any news on that? did you find a workaround?
i removed markerOption that contain home marker you can manage them freely in you app without need the package but maybe next version i can see how to return it if i find good way to manage it because it make things little bit complicated trying to create more generic apis first them i can focus in some usefull use cases like home location or staff similar
Hello there! I found the following error while I run my app in an Ios Simulator: Lib version: 0.70.1 and 0.70.0
flutter doctor:
Simulator IOS 13.7
error: Expected initial value after '=' in MyMapView.swift:171:23
Some idea?