NativeScript / NativeScript/nativescript-cli

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

Offen
#5,666 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug-pending-triage
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Einstiegspunkt ns debug ios und reproduziere den House-Arrest-Fehler unter Verwendung der gemeldeten Versionen von macOS, Xcode, iOS, Node und NativeScript. Verfolge, wie die CLI das verbundene Gerät und den gemeldeten Fehler behandelt. Als abgeschlossen gilt die Aufgabe, wenn ns debug ios Änderungen anwendet und das Chrome-Debugging auf den betroffenen iOS-Geräten aktiviert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ios, javascript, node.js
Bereich
cli, mobile-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
18/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.