Skip to content

Build failing with XCode 26.4 #1470

@JorenVerbaandert

Description

@JorenVerbaandert

Checklist

Description

I'm running an expo build after migrating to XCode 26.4 and run into issues building the auth0 library.

On both Expo 54 and Expo 55 I see the following error:

❌  (../../node_modules/react-native-auth0/ios/NativeBridge.swift:474:19)

  472 |             case .pkceNotAllowed: code = "PKCE_NOT_ALLOWED"
  473 |             case .idTokenValidationFailed: code = "ID_TOKEN_VALIDATION_FAILED"
> 474 |             case .other: if let cause = self.cause as? AuthenticationError {
      |                   ^ ambiguous use of 'other'
  475 |                 code = cause.code
  476 |             } else {
  477 |                 code = "OTHER"


❌  (../../node_modules/react-native-auth0/ios/NativeBridge.swift:493:19)

  491 |             case .cryptoKitOperationFailed: code = NativeBridge.dpopProofFailedCode
  492 |             case .secKeyOperationFailed: code = NativeBridge.dpopProofFailedCode
> 493 |             case .other: code = NativeBridge.dpopErrorCode
      |                   ^ ambiguous use of 'other'
  494 |             case .unknown: code = NativeBridge.dpopErrorCode
  495 |         default:
  496 |             code = NativeBridge.dpopErrorCode


❌  (../../node_modules/react-native-auth0/ios/NativeBridge.swift:494:19)

  492 |             case .secKeyOperationFailed: code = NativeBridge.dpopProofFailedCode
  493 |             case .other: code = NativeBridge.dpopErrorCode
> 494 |             case .unknown: code = NativeBridge.dpopErrorCode
      |                   ^ ambiguous use of 'unknown'
  495 |         default:
  496 |             code = NativeBridge.dpopErrorCode
  497 |         }

Reproduction

  1. Create an Expo 54 or Expo 55 app with a developer build
  2. Add auth0 and do a prebuild
  3. Run the iOS build

Additional context

No response

react-native-auth0 version

5.4.0

React Native version

0.81.5 & 0.83.2

Expo version

54 & 55

Platform

iOS

Platform version(s)

26.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions