NativeScript / NativeScript/nativescript-cli

Unable to apply changes on device: . Error is: Could not start house arrest for application

未關閉
#5,666 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

bug-pending-triage
主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

Issue Description

When using ns debug ios I get the following error:-

Unable to apply changes on device: ........ Error is: Could not start house arrest for application

Device ID removed for security. This seems to be a reoccurrence of an error back in 2019.

Application installs and runs, but no option to debug via Chrome

iOS Device is iPhone 6S running iOS 15.4.1 and is registered as a developer testing device. Restarted MAC but issue is still there. Also rebooted iPhone and problem not fixed. Issue also exists on iPhone 12.

Device is physically connected to the development MAC.

Reproduction

ns debug ios --provision or just ns debug ios

Relevant log output (if applicable)
Output is as per title.
Environment
OS: macOS 12.3
CPU: (8) arm64 Apple M1 Pro
Shell: /bin/zsh
node: 17.6.0
npm: 8.5.1
nativescript: 8.2.3

# android
java: 1.8.0_172
ndk: Not Found
apis: 25, 27, 28
build_tools: 25.0.2, 27.0.3, 28.0.3
system_images: 
  - android-28 | Google APIs Intel x86 Atom

# ios
xcode: 13.3.1/13E500a
cocoapods: 1.11.2
python: 3.9.10
python3: 3.9.10
ruby: 2.6.8
platforms: 
  - DriverKit 21.4
  - iOS 15.4
  - macOS 12.3
  - tvOS 15.4
  - watchOS 8.5
Dependencies
"dependencies": {
  "@nativescript-community/gps": "^3.1.3",
  "@nativescript-community/sqlite": "^3.4.1",
  "@nativescript-community/ui-mapbox": "^6.2.15",
  "@nativescript/appavailability": "^2.0.0",
  "@nativescript/background-http": "^5.0.2",
  "@nativescript/camera": "^5.0.10",
  "@nativescript/core": "^8.1.5",
  "@nativescript/datetimepicker": "^2.1.9",
  "@nativescript/theme": "^3.0.2",
  "@nstudio/nativescript-cardview": "^2.0.1",
  "@proplugins/nativescript-drop-down": "^9.0.2",
  "@proplugins/nativescript-platform": "^1.4.15",
  "@triniwiz/nativescript-videorecorder": "^4.0.2",
  "nativescript": "^7.2.0",
  "nativescript-accelerometer": "^3.0.0",
  "nativescript-background-fetch": "^1.2.1",
  "nativescript-fresco": "^5.3.0",
  "nativescript-google-maps-sdk": "^3.0.2",
  "nativescript-intl": "^4.0.2",
  "nativescript-iqkeyboardmanager": "^1.5.1",
  "nativescript-sqlite": "^2.8.6",
  "nativescript-theme-core": "^2.0.24",
  "nativescript-ui-dataform": "^8.0.1",
  "nativescript-ui-listview": "^10.0.2",
  "nativescript-videoplayer": "^5.0.1",
  "reflect-metadata": "0.1.13",
  "rxjs": "6.5.4",
  "rxjs-compat": "6.5.4",
  "zone.js": "0.10.2"
},
"devDependencies": {
  "@nativescript/android": "~8.2.0",
  "@nativescript/ios": "~8.2.0",
  "@nativescript/types": "~8.2.0",
  "@nativescript/webpack": "~5.0.0-beta.14",
  "@webpack-cli/generators": "^2.4.2",
  "copy-webpack-plugin": "^9.1.0",
  "typescript": "~4.3.5"
}
Please accept these terms

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

ns debug ios 入口開始,使用回報的 macOS、Xcode、iOS、Node 和 NativeScript 版本重現 house-arrest 失敗。追蹤 CLI 如何處理已連接的裝置和回報的錯誤。當 ns debug ios 套用變更並在受影響的 iOS 裝置上啟用 Chrome 偵錯時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ios, javascript, node.js
領域
cli, mobile-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
18/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。