Open jpeckner opened 4 years ago
@jpeckner Have you been able to use MapKit instead for the App Clip purposes?
Is this being looked into?
MapKit works without any framework embedding whatsover – leverages the underlying OS one. The entire spirit of App Clips / Instant Apps is to eliminate download size by stripping out everything – so solutions like Mapbox are going to need to significantly strip down their download size if they are to transition into the new app-store-less paradigm.
Thanks for sharing your use case. Have you considered using the Mapbox Static Images API for these scenarios?
I used Xcode's app size report feature to measure sizes on an iOS 14 app clip- first without Mapbox.framework embedded, and again with it embedded. The end result was that embedding Mapbox grows the uncompressed size of the thinned app clip grew by about 9mb. This essentially means that it's impossible to include Mapbox while also keeping the total size under Apple's uncompressed 10mb limit.
Are there any plans to release a slimmed-down version of Mapbox.framework, say in the realm of 3-4mb after thinning?
Configuration
Mapbox SDK versions: 6.0.0 iOS/macOS versions: iOS 14.0 beta Device/simulator models: all Xcode version: Xcode 12 beta 4