Skip to content

Cannot run app after debug-brk fail #4218

Closed
@DimitarTachev

Description

@DimitarTachev

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.1.0
  • Cross-platform modules: 5.0.0
  • Android Runtime: 5.0.0
  • iOS Runtime: 5.0.0

To Reproduce

  1. tns create testApp --js && cd testApp
  2. tns debug ios --debug-brk (on Simulator)
  3. open the Chrome URL and don't resume the breakpoint.
  4. make a JS file change in order to trigger the LiveSync process.
  5. run ctrl + c in order to terminate the debug command. (you will see Unable to apply changes on device: 631C5F81-3FC0-44DB-A4BE-0E0AC7BBA920. Error is: Command xcrun with arguments simctl get_app_container ... error in the output)
  6. tns debug ios
  7. the command will hang on Skipping prepare.

Expected behavior
The app should run on the Simulator, and you should be able to debug it.

Additional context
The issue is caused by xcrun simctl get_app_container which hangs and does not return a result.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions