vincent
vincent

Reputation: 21

Maximum number of files in a ipa or apk

I built an IPA with 100000 files (1500mo). When i try to install on all my iPad, i have the error message E8000004 (Error Unknown).

Tested on: * Ipad second and 3rd generation * IOS 5 and 6

Do you know the maximum number of files that an ipa can contain ?

Upvotes: 2

Views: 290

Answers (1)

Codo
Codo

Reputation: 78815

I can't tell you what the limit on the number of files is. But I have a proposal how you could implement your app.

Run an embedded HTTP Server on your iPad as part of your app, e.g. CocoaHTTPServer, and have it serve the tiles. The tiles themselves could be stored in a single ZIP file, which is never extracted. Instead, the HTTP server would extract single tiles on-the-fly when they are requested.

This approach doesn't require Wifi or mobile network access. And you can still use leaflet.js. Indeed, you hardly need to change your app except for adding the embedded HTTP server.

Upvotes: 2

Related Questions