NativeScript / NativeScript/nativescript-cli
Can't install watchOS (Watch 1.0 apps are no longer installable)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
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,
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề với ns create helloworld --ng và ns build ios, sau đó kiểm tra workspace được tạo và target Watch App được thêm vào trong Xcode 12.5.1. So sánh project được tạo với project HelloWorld native được cài đặt thành công. Công việc được xem là hoàn tất khi ứng dụng NativeScript watchOS cài đặt được trên emulator mà không gặp lỗi WatchKit 1.0.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, javascript
- Lĩnh vực
- cli, mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100