0

I am working with Mapbox Framework. I have generated MBTiles file which I want to use in my project (for iPhones and iPads) but that file is having size of 3GB (which I can't use in project). When I added that file in project, it created a build of 3.29GB.

When I gave reference of that file too, created build in GBs.

Is there any way that I can use that file in my Xcode project without increasing build size?

1 Answers1

1

Phillip is correct in the comments above, uploading the mbtiles is your best option not only for reducing app size but increasing app performance. Instead of setting up your own server, if you sign up for a Mapbox account you can upload the file and display it within your app. Heres a help guide that will get you started. Note that you might need to pay for a standard plan as the limit for free is 1GB.

Additionally, another option is to use Mapbox Studio to style a map in the same manner you did with your mbtiles.

Hope this helps out!

cammace
  • 3,138
  • 1
  • 13
  • 18