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 摘要。