I have a JSONDecoder that works on simulator, but it can't decode the same data when running on real device, please help. This error will happen when running on real device:
dataCorrupted(Swift.DecodingError.Context(
codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0),
CodingKeys(stringValue: "market_cap", intValue: nil)],
debugDescription: "Parsed JSON number <16541228553> does not fit in Int.",
underlyingError: nil))
I think 16541228553 should fit in Int? It fits when running on simulator. Thanks.