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