Skip to content

Latest release broken with macCatalyst #704

Description

@vincentjames501

Issue

It looks like #693 broke compilation for us on Catalyst. It blows up with OIDExternalUserAgentIOS is not available in macCatalyst.

The problem is TARGET_OS_IOS is set for Catalyst now per: https://stackoverflow.com/questions/12132933/preprocessor-macro-for-os-x-targets/49560690#49560690

Looks like simply flipping the if/elif order should fix things.

Environment

  • Platform that you're experiencing the issue on: iOS (macCatalyst)
  • Are you using Expo? No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions