16449 removed some conditional compilation from mbgl::resourceURL() in http_file_source.mm that prevented the macOS map SDK from adding sku and offline parameters to requests. Since MapboxAccounts.framework is unavailable for macOS, ?sku is added to all requests, which doesn’t cause the request to fail but is still misleading.
The additional parameter is causing macOS unit test failures in the mapbox-gl-native-ios repository, which for better or worse is where http_file_source.mm is being unit tested.
16449 removed some conditional compilation from
mbgl::resourceURL()
in http_file_source.mm that prevented the macOS map SDK from addingsku
andoffline
parameters to requests. Since MapboxAccounts.framework is unavailable for macOS,?sku
is added to all requests, which doesn’t cause the request to fail but is still misleading.The additional parameter is causing macOS unit test failures in the mapbox-gl-native-ios repository, which for better or worse is where http_file_source.mm is being unit tested.
/cc @mapbox/maps-ios