Skip to content

Unable to debug on iOS using the --device option #1620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vchimev opened this issue Mar 18, 2016 · 6 comments
Closed

Unable to debug on iOS using the --device option #1620

vchimev opened this issue Mar 18, 2016 · 6 comments

Comments

@vchimev
Copy link

vchimev commented Mar 18, 2016

I am unable to execute the tns debug ios command with --device option.
I get Timeout waiting for response from NativeScript runtime.

@vchimev vchimev added the debug label Mar 18, 2016
@sushruth
Copy link

Experiencing the same problem here without the --device option too.

@dtopuzov
Copy link
Contributor

dtopuzov commented Jun 17, 2016

Still valid in {N} master and Xcode 7.3.1. iOS devices with iOS 9.3.2
tns debug ios --path TestApp
-> Successfully deployed on device with identifier 'ccd596fa85d0c0c78c9b5a95147c1ba49c9dcd67'.
-> Inspector app started
tns debug ios --device ccd596fa85d0c0c78c9b5a95147c1ba49c9dcd67 --path TestApp
-> fails with multiple error, different each time

Error 1:

Status: InspectingPackage PercentComplete: 20

Error: PackageInspectionFailed 
ErrorDescription: Failed to load Info.plist from bundle at path /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.eNYmMw/extracted/Payload/TestApp.app 

Error 2:

Results at '/Users/topuzov/TestApp/platforms/ios/build/device/TestApp.ipa' 
Project successfully built
Status: BrowsingApplications
Status: Complete
Status: BrowsingApplications
Status: Complete
Status: CreatingStagingDirectory PercentComplete: 5
Status: ExtractingPackage PercentComplete: 15

Error: PackageExtractionFailed 
ErrorDescription: Could not extract archive 

Error 3:

Results at '/Users/topuzov/TestApp/platforms/ios/build/device/TestApp.ipa' 
Project successfully built
Make sure you have trusted the computer from your device. If your phone is locked with a passcode, unlock then reconnect it. Result code is: 3892314157
# debug iOS

Note that I have no trust dialog on my device

@enchev
Copy link
Contributor

enchev commented Jun 17, 2016

It seems that tns run|debug --device [DEVICE-ID|INDEX] will work on emulators but not on real devices. In my opinion the problem is with the app deployment not with debug service.

@enchev enchev removed this from the 2.1 milestone Jun 20, 2016
@enchev enchev self-assigned this Jun 24, 2016
@enchev enchev added this to the 2.1 milestone Jun 24, 2016
@enchev enchev closed this as completed Jun 27, 2016
@mattpcaswell
Copy link

Hey this is still happening for me. I tried debugging on device from the vs code native script plugin and got the same error, [31;1mTimeout waiting for response from NativeScript runtime.

@spstratis
Copy link

I'm still getting this issue today. What's the actual work around for this?

@demetrio812
Copy link

Still happening for me too (2.5.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants