Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

MGLOfflinePack download error: The operation couldn't be completed. No space left on device. #649

Open
anilios opened this issue Mar 14, 2022 · 1 comment

Comments

@anilios
Copy link

anilios commented Mar 14, 2022

Steps to reproduce

  1. When downloading a large offline pack I am getting no space left on the device error, while I have a lot of space on the device.
  2. When I debug code while attaching the device to Xcode, I never get this error, but as soon as the build is released and it is downloaded from the test flight, I start getting this error and the offlinePackDidReceiveError function is always gets called for a large area. Small areas work fine most of the time.
  3. Following code is used to start the download for the pack.

![image](https://user-images.githubusercontent.com/694814/158113431-4029d9a2-6f00-4590-8323-ffbe56115bef.png)

![image](https://user-images.githubusercontent.com/694814/158114409-0f35be1d-9b6a-4163-bea7-59e69bbee79e.png)

Delegates for download pack:
![image](https://user-images.githubusercontent.com/694814/158113675-13a3ba6a-e697-4f56-a817-39aaf9c723d3.png)

Expected behavior

User should be able to download large offline packs and should not get no space on device error.

Actual behavior

Not able to download large offline packs. This is happening only in production. While debugging or in simulator everything works fine.

Configuration

Mapbox SDK versions: 6.4.1
iOS/macOS versions: All iOS version
Device/simulator models: Only on production build.
Xcode version: 13.2.1

@anilios
Copy link
Author

anilios commented Sep 27, 2022

Anyone else experiencing the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant