Playground iOS build on Xcode 27: deployment-target and fmt errors

Abierto
#776 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp, react-native
Área
mobile

Línea de trabajo

Start by reading the Playground iOS Podfile and its post_install settings, then reproduce the build with the stated Xcode and simulator versions. Check which pod targets use a deployment target below iOS 15 and how fmt is built in C++20 mode. Done when the Playground builds without the deployment-target or fmt errors; the issue identifies these failures but does not give a repository file path or test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Environment: @babylonjs/react-native 2.0.7 (Babylon Native f4d9efb), React Native 0.81.6 (legacy architecture), Hermes, Xcode 27.1, iOS 27.0 Simulator (iPhone 17), macOS 27.0.1.

  • RNPermissions-RNPermissionsPrivacyInfo (and other pod targets) are at iOS 12.4. Xcode 27 rejects anything below
    iOS 15.
  • fmt 11.0.2 (format-inl.h:59): "call to consteval function … is not a constant expression" with the Xcode 27
    Clang in C++20 mode.

Workaround (Podfile post_install): set IPHONEOS_DEPLOYMENT_TARGET = 16.0 for all pod targets and
CLANG_CXX_LANGUAGE_STANDARD = c++17 for the fmt target. The fmt part is a React Native issue, but the
Playground is the first place users hit it.

Lenguaje dominante
C++
Estrellas
437
Forks
72
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BabylonJS/BabylonReactNative

Todos los issues de BabylonJS/BabylonReactNative

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.