-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler errors caused by map SDK v4.3.0 — NavigationMapView.preferredFramesPerSecond #1607
Comments
@1ec5 Could we have detected this issue with CI earlier? Basically, what if we had opened a PR on https://github.com/mapbox/mapbox-navigation-ios using If CI wouldn't have caught it, can we make any changes to our CI build process to detect this kind of issue in the future? |
Yes, fully agree. The map SDK release process includes upgrading the navigation SDK, but historically that step has been skipped for prereleases. Going forward, let’s make sure to at least push a branch that uses the prerelease so we can check CI status on it. The changes required to upgrade to a prerelease look somewhat different than c46506c because Carthage doesn’t support prerelease versioning with the tadpole operator on binary releases: Carthage/Carthage#431 (comment). If I’m not mistaken, Cartfile and Cartfile.resolved would omit the tadpole operator in favor of something like:
mapbox-navigation-ios/Cartfile Line 1 in d99e010
|
FYI @captainbarbosa |
The issue hasn't been resolved for installations via Carthage.
is resolved to the following in
when running
Looks like a |
Huh, #1609 set the Cartfile’s dependency to |
I created a new Cartfile in an empty folder for that experiment so navigation-ios is the only dependency. |
If you delete Cartfile.resolved and run |
Okey after some research I finally found the stable version of all the pod provided by Mapbox, and they are:
And this also solved my above mentioned problem. Cheers!! Happy coding !! |
Mapbox Maps SDK for iOS v4.3.0 is scheduled for release today. If the developer has navigation SDK v0.17.0-beta.1–v0.19.0 installed,
pod update
andcarthage update
will automatically pull down this release, because the navigation SDK specifies only a minor version with the tadpole operator rather than a patch version.mapbox-navigation-ios/MapboxNavigation.podspec
Line 47 in 04a8cb5
mapbox-navigation-ios/Cartfile
Line 1 in 04a8cb5
v4.3.0 is slated to include mapbox/mapbox-gl-native#12501, which upstreams some of the frame rate overrides in #709. #935 named the property
NavigationMapView.preferredFramesPerSecond
, which conflicts with theMGLMapView.preferredFramesPerSecond
property in mapbox/mapbox-gl-native#12501. So anyone who updates their dependencies after v4.3.0 is released will encounter these compiler errors:We’ll need to remove the conflicting property, which is no longer necessary. To work around the incompatibility in v0.19.0, we’ll release a v0.19.1 based on the v0.19.0 tag that cherry-picks the change. Developers who are pinning to v0.19.0 specifically won’t automatically get v0.19.1; they’ll need to either update the dependency manually or explicitly constrain the map SDK dependency to v4.2.x.
To avoid issues like this in the future, we should coordinate upstreamed changes so that developers can more gracefully migrate.
/cc @mapbox/navigation-ios @mapbox/maps-ios
The text was updated successfully, but these errors were encountered: