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')
オープン
まだ誰も着手していません。
build
CocoaPods
os: ios
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
新しい Vue テンプレートと tns run ios --bundle で再現し、issue に記載されている NativeScript のバージョンと Xcode 10.1 を使用する。iOS アーカイブのビルドと Starscream target の SWIFT_VERSION を追跡する;アプリがサポートされていない Swift 5.0 のエラーなしでビルドおよびアーカイブできれば完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, swift
- 領域
- build-system, cli, mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100