You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.2.0 (the current next)
Cross-platform modules: 5.1.0
iOS Runtime: 5.1.1
To Reproduce
tns create myApp --js
tns debug ios --debug-brk (on a real iOS device)
open the debug URL in chrome
wait on the first line for more than 30 seconds (the app will be killed and the debugger disconnected)
Expected behavior
You should be able to wait there as much as you want
Additional context
The app is killed by iOS. We've solved this issue for simulators by attaching an lldb debugger to the application (check out the iOS simulators application manager). We should implement a similar solution in the ios-device-lib - we could use some gdb options in order to attach a native debugger to the app when waitForDebugger is passed.
The text was updated successfully, but these errors were encountered:
It seems that the iOS app is not terminated on iOS 11+ which means that we could close this issue as soon as we have iOS 11 as the minimum iOS version.
We should also check this behavior on Simulators and drop the lldb related code from the CLI if it's redundant for iOS 11+.
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):next
)To Reproduce
tns create myApp --js
tns debug ios --debug-brk
(on a real iOS device)Expected behavior
You should be able to wait there as much as you want
Additional context
The app is killed by iOS. We've solved this issue for simulators by attaching an lldb debugger to the application (check out the iOS simulators application manager). We should implement a similar solution in the ios-device-lib - we could use some
gdb
options in order to attach a native debugger to the app whenwaitForDebugger
is passed.The text was updated successfully, but these errors were encountered: