mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Sdk size
Environment
- Xcode version:
- iOS version:
- Devices affected:
- Maps SDK Version:
Observed behavior and steps to reproduce
On mapbox documentation its says the sdk takes 3-4 mb of app size, but the sdk in total is 11 mb, including size of mapbox common frame work, is this a known bug?
Expected behavior
Notes / preliminary analysis
Additional links and references
Hi there, can you please link the documentation where it mentions that the sdk takes 3-4 mb of app size?
https://docs.mapbox.com/help/troubleshooting/ios-framework-size/
@JenishKananiLime, our binary size baselines can be found here, where the MapboxMaps_iphoneos_arm64 is just a little over 2 mb.
yes but is the overall sdk size bigger? then 2mb
The numbers that are mentioned in the documentation you are referencing are based on app thinning. The value associated with MapboxMaps_iphoneos_arm64 is what actually would be on the real device inside your application.
Yes but we did a app thining report and the mapbox common framework is a very big library. More then 5mb
@JenishKananiLime Can you share the numbers you got in the app thinning report, please?
@OdNairy will add next week
App Thinning Size Report for All Variants of LimebikeRelease
Variant: Lime-E7091CB4-80A8-4676-BCA3-E2B24F360DC4.ipa Supported variant descriptors: [device: iPhone14,3, os-version: 15.0], [device: iPhone10,3, os-version: 15.0], [device: iPhone13,2, os-version: 15.0], [device: iPhone11,4, os-version: 15.0], [device: iPhone14,5, os-version: 15.0], [device: iPhone13,1, os-version: 15.0], [device: iPhone10,5, os-version: 15.0], [device: iPhone14,4, os-version: 15.0], [device: iPhone12,3, os-version: 15.0], [device: iPhone13,4, os-version: 15.0], [device: iPhone14,2, os-version: 15.0], [device: iPhone10,6, os-version: 15.0], [device: iPhone11,6, os-version: 15.0], [device: iPhone11,2, os-version: 15.0], [device: iPhone9,2, os-version: 15.0], [device: iPhone10,2, os-version: 15.0], [device: iPhone13,3, os-version: 15.0], [device: iPhone9,4, os-version: 15.0], and [device: iPhone12,5, os-version: 15.0] App + On Demand Resources size: 57.5 MB compressed, 128 MB uncompressed App size: 120.9 MB uncompressed On Demand Resources size: 7.2 MB uncompressed
total size of Mapbox is 11.8 mb
@OdNairy