NativeScript / NativeScript/nativescript-cli
Xcode build... error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')
Abierto
Nadie ha tomado este issue todavía.
build
CocoaPods
os: ios
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
Environment
tns info
✔ Component nativescript has 5.4.0 version and is up to date.
✔ Component tns-core-modules has 6.0.0-next-2019-06-03-175837-01 version and is up to date.
✔ Component tns-android has 6.0.0-2019-05-29-132216-01 version and is up to date.
✔ Component tns-ios has 6.0.0-2019-05-28-180227-02 version and is up to date.
No plugins, fresh vue template ie
vue init nativescript-vue/vue-cli-template transport
Bug, can not create ARCHIVE and can not run iOS app, ie
tns run ios --bundle
[...]
Xcode build...
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')
note: Using new build systemnote: Planning buildnote: Constructing build description
** ARCHIVE FAILED **
Just wasted whole day and thinking about... SwiftUI :) Any idea how to fix this?
Additional info
$tns doctor
$ tns doctor
✔ Getting environment information
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 10.1.0 satisfies minimum required version 9.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.0 version and is up to date.
✔ Component tns-core-modules has 6.0.0-next-2019-06-03-175837-01 version and is up to date.
✔ Component tns-android has 6.0.0-2019-05-29-132216-01 version and is up to date.
✔ Component tns-ios has 6.0.0-2019-05-28-180227-02 version and is up to date.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproducir con la plantilla Vue nueva y tns run ios --bundle, usando las versiones de NativeScript y Xcode 10.1 indicados en el issue. Rastrear la compilación del archivo iOS y SWIFT_VERSION del target de Starscream; se considera hecho cuando la aplicación se compila y se archiva sin el error de Swift 5.0 no compatible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, swift
- Área
- build-system, cli, mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100