NativeScript / NativeScript/nativescript-cli

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

Đang mở
#5,666 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug-pending-triage
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với entry point ns debug ios và tái hiện lỗi house-arrest bằng các phiên bản macOS, Xcode, iOS, Node và NativeScript đã được báo cáo. Theo dõi cách CLI xử lý thiết bị được kết nối và lỗi đã báo cáo. Hoàn thành khi ns debug ios áp dụng các thay đổi và bật tính năng gỡ lỗi Chrome trên các thiết bị iOS bị ảnh hưởng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ios, javascript, node.js
Lĩnh vực
cli, mobile-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
18/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.