Can't install watchOS (Watch 1.0 apps are no longer installable)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- ios, javascript
- 領域
- cli, mobile-dev
調査の方向性
まず ns create helloworld --ng と ns build ios で問題を再現し、次に Xcode 12.5.1 で生成された workspace と追加された Watch App ターゲットを調べます。生成されたプロジェクトを、正常にインストールできるネイティブの HelloWorld プロジェクトと比較します。NativeScript watchOS アプリが WatchKit 1.0 エラーなしでエミュレータにインストールされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi, this is my first issue on Nativescript, sorry if I forgot anything and I hope this is the right place, thanks.
Environment
- CLI: 8.0.2
- Cross-platform modules: 8.0.8
- Android Runtime: -
- iOS Runtime: 8.0.0
- XCode Version: 12.5.1
- Plugin(s): -
Describe the bug
I'm unable to install an iOS Apple Watch app added to an existing nativescript iOS app.
When I run the app on the watch, the build is successful but I get this message:
Please try again later.
WatchKit 1.0 apps are no longer installable on this watchOS version.
To Reproduce
This bug is reproducible using a blank "Hello world" project.
ns create helloworld --ng
ns build ios
Then, open the .workspace. file, new target > Watch App for iOS App. Then,

Expected behavior
The app should show up on the emulator.
Additional context
When I click on "Details" of the error, this is what I get:
Details
Unable To Install “helloworld”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: WatchKit 1.0 apps are no longer installable on this watchOS version.
--
WatchKit 1.0 apps are no longer installable on this watchOS version.
Domain: MIInstallerErrorDomain
Code: 133
User Info: {
FunctionName = "-[MIInstallableBundle _isValidWatchKitApp:withVersion:installableSigningInfo:error:]";
LegacyErrorString = UnsupportedWatchKitVersion;
SourceFileLine = 677;
}
--
System Information
macOS Version 11.4 (Build 20F71)
Xcode 12.5.1 (18212) (Build 12E507)
Timestamp: 2021-08-03T16:40:06+02:00
All this is based on this article: https://blog.nativescript.org/developing-a-watchos-extension-for-your-nativescript-app/ .
After looking on StackOverflow, it seems like (unrelated to Nativescript), this error can happen even if it has noting to do with the version code.
I tried changing different options based on SO answers but each time, I get this error. I also tried with a native HelloWorld project (i.e. not Nativescript), and it worked without any issue.
Thanks for your help,
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nativescript-cli のほかの issue
-
in-progress
NativeScript/nativescript-cli#6140 · コメント 2 件 · 担当者 1 名 ·
-
NativeScript/nativescript-cli#6090 · 担当者 1 名 ·
-
in progress
NativeScript/nativescript-cli#6015 · リアクション 1 件 · 担当者 1 名 ·
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
NativeScript/nativescript-cli#5992 · コメント 5 件 ·
-
feature-pending-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nativescript-cli#5975 ·
NativeScript/nativescript-cli の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
avniproject/avni-client#2135 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bevyengine/bevy-website#2595 ·
-
ecosystem wording
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
matrix-org/matrix.org#3649 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vadimdemedes/ink#1029 ·