Project Config Cache is not updating Xcode version

Abierto
#5,388 1 comentario 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
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
ios, javascript
Área
cli, mobile-dev

Línea de trabajo

Empieza reproduciendo la discrepancia con ns run ios --log trace y ns doctor, centrándote en la información almacenada en caché del Project Config Service y en la versión de Xcode informada. Traza cómo se lee la caché durante ns run ios y compárala con el valor actualizado de ns doctor; el trabajo está terminado cuando ambos comandos informan de la versión actual de Xcode.

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

Descripción

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 7.0.8

Describe the bug
When running ns run ios --log trace the Project info that is displayed doesn't reflect the same info from ns doctor.

This is the relevant piece from ns run ios --log trace. If you compare the Xcode version shown here it doesn't match the Xcode version when I run ns doctor.

Project Config Service using legacy configuration...
Initializing analytics statuses.
Analytics statuses:  { TrackFeatureUsage: 'disabled', TrackExceptions: 'disabled' }
getInfos cacheConfig options: { forceCheck: undefined }  current info from cache:  [ { message: 'Xcode is installed and is configured properly.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'xcodeproj is installed and is configured properly.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'CocoaPods are installed.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'CocoaPods update is not required.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'CocoaPods are configured properly.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'Your current CocoaPods version is newer than 1.0.0.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'Python installed and configured correctly.',
    platforms: [ 'iOS' ],
    type: 'info' },
  { message: 'The Python \'six\' package is found.',
    platforms: [ 'iOS' ],
    type: 'info' },
  **{ message:
     'Xcode version 11.5.0 satisfies minimum required version 10.',
    platforms: [ 'iOS' ],
    type: 'info' }** ]
Xcode is installed and is configured properly.
xcodeproj is installed and is configured properly.
CocoaPods are installed.
CocoaPods update is not required.
CocoaPods are configured properly.
Your current CocoaPods version is newer than 1.0.0.
Python installed and configured correctly.
The Python 'six' package is found.
**Xcode version 11.5.0 satisfies minimum required version 10.**
Result from ns doctor

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
**✔ Xcode version 12.0.0 satisfies minimum required version 10.**

I'm not sure how to clear the cache that's being picked up on ns run ios but I'm having issues with the command line starting the app on my phone with iOS 14. I can start it fine from Xcode but it won't start from ns run ios and I think it might be related to ns run ios using an old Xcode version.

Lenguaje dominante
JavaScript
Estrellas
1.1k
Forks
204
Merge medio
1 d 9 h
PR fusionados (30 d)
8

Guía de contribución

Abrir la guía de contribución

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 NativeScript/nativescript-cli

Todos los issues de NativeScript/nativescript-cli

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.