Skip to content

timezonesDB.json not found in app bundle #15

@rubnov

Description

@rubnov

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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions