Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timezonesDB.json not found in app bundle #15

Open
rubnov opened this issue Sep 24, 2019 · 0 comments
Open

timezonesDB.json not found in app bundle #15

rubnov opened this issue Sep 24, 2019 · 0 comments

Comments

@rubnov
Copy link

rubnov commented Sep 24, 2019

On the latest tag (1.1), the method importDataBaseFromFile still attempts to load the timezonesDB.json from the mainBundle, which is the host application's bundle. The file isn't found there, but rather inside APTimeZones own Framework bundle. As a result, the following assertion fails and the app crashes in debug:

    NSAssert(jsonData.length != 0, @"timezonesDB.json not found in app bundle");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant