Skip to content

[Bug]: EAS Builds Fail on Xcode 16 #3912

@stephenavocado

Description

@stephenavocado

Mapbox Implementation

Mapbox

Mapbox Version

10.0.11

React Native Version

0.74.3

Platform

iOS

@rnmapbox/maps version

10.0.11

Standalone component to reproduce


❌  (node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXStyleValue.swift:277:37)

  275 |   }
  276 |   
> 277 |   func asExpression(json: [Any]) -> Expression {
      |                                     ^ 'Expression' is ambiguous for type lookup in this context
  278 |     let data = try! JSONSerialization.data(withJSONObject: json, options: .prettyPrinted)
  279 |     let decodedExpression = try! JSONDecoder().decode(Expression.self, from: data)
  280 |     return decodedExpression

❌  (node_modules/@rnmapbox/maps/ios/RNMBX/RNMBXStyleValue.swift:438:55)

  436 |   }
  437 |     
> 438 |   func parseExpression(_ expression: [Any]) throws -> Expression {
      |                                                       ^ 'Expression' is ambiguous for type lookup in this context
  439 |     let data = try JSONSerialization.data(withJSONObject: expression, options: .prettyPrinted)
  440 |     let decodedExpression = try JSONDecoder().decode(Expression.self, from: data)
  441 |     return decodedExpression

Observed behavior and steps to reproduce

EAS build fails on xcode 16, which is now required to release on the App store.

Builds had no issues on xcode 15 / Expo 51.

Builds also fail on Expo 52 and 53.

Expected behavior

Successful EAS build

Notes / preliminary analysis

No response

Additional links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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