NativeScript / NativeScript/nativescript-cli

cli does not recognize physical iOS devices (since cli 9.1.0)

未关闭
#6,140 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。