Skip to content

iOS 18 App gets crash when we use map<D: Decodable> method #2367

@Kishor0107

Description

@Kishor0107

I am using Moya version 15.0, and my app unexpectedly started crashing on iOS 18. The issue occurs when the API response is empty, as the execution enters the try mapJSON(failsOnEmptyData:) method, which triggers the crash.

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