NativeScript / NativeScript/nativescript-cli
cli does not recognize physical iOS devices (since cli 9.1.0)
未关闭
@NathanWalker 已经在做这个了。
开始于 2026年8月31日。
in-progress
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
Issue Description
After upgrading nativescript cli to 9.1.0, it does not recognize physical iOS devices connected via USB.
ns devices returns "Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again."
Xcode finds the device as expected. When downgrading the cli back to 9.0.7, ns devices lists the device as expected.
Reproduction
- run
npm install -g nativescript@latest - connect iOS device via USB
ns devices-> "no devies"
Relevant log output (if applicable)
Environment
OS: macOS 26.6.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: /bin/zsh
node: 24.18.1
npm: 12.0.2
nativescript: 9.1.0
# android
java: 17.0.11
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found
# ios
xcode: 26.6/17F113
cocoapods: 1.16.2
python: 2.7.18
python3: 3.13.0
ruby: 2.6.10
platforms:
- DriverKit 25.5
- iOS 26.5
- macOS 26.5
- tvOS 26.5
- visionOS 26.5
- watchOS 26.5
Dependencies
"dependencies": {},
"devDependencies": {}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。