-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns debug ios: nativescript inspector doesn't open on High Sierra and Xcode 9.2 #3240
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
Comments
Hi @shoudaos To be honest I have no idea what can cause the problem, but as temporary workaround I can suggest you using We will update the issue once we have idea what can be wrong. btw, Can you reproduce the same issue with hello-world project? |
I have exactly the same issue. The inspector crashes because of the missing symbol I can reproduce the issue with the hello-world project.
|
Same issue here - missing symbol _CTFontCreateForCSS Occurred after updating to the latest Xcode. |
@anthonyball Do you mean 9.1 version? What version of XCode did you have with working inspector? |
It was 9.0 I think. The update of Xcode happened at the same time as upgrading from Sierra to High Sierra so it could have been that or a combination of the two. |
@anthonyball, I updated xcode to 9.2, nothing changed, so will try to downgrade to 9.0 |
Same here, let me know if the downgrade does the trick please |
@anthonyball what can I say. Downloaded xcode 9.0 xip archive, then installed it, and when run |
@anthonyball can you try to downgrade yourself? maybe i made mistake somewhere |
facing same exact issue |
Going to take a look at this tomorrow and see if downgrading to Xcode 9 will work or not. I’ll let you know. |
Couldn't get an emulator loaded in Xcode 9 either when I downgraded. Nor could I get it to fire when loading the app straight onto a physical device. Currently going back to 9.2 and I expect the _CTFontCreateForCSS issue to remain. |
@dtopuzov help us, pleeeease :) |
Fix merged: NativeScript/ios-jsc#838 It will be available in {N} 3.4.0, which will be released next week. |
Fantastic news! Thanks! |
Yeah baby! Thanks! |
@dtopuzov, There is still this issue remained. Run |
The --inspector debug is crashing (immediately, with same error about _CTFontCreateForCSS) for me as well, after the 3.4.0 update (core, ios, & android). tns doctor check is all good. High Sierra 10.13.2, Xcode 9.2. |
I'm getting this error after issuing
Xcode 8.2.1 / iOS 9.3.5 |
Reopen, since it looks we still have issues. |
@shoudaos @thejonroberts @pentool Can you confirm your test project is updated, can you reproduce it with hello-world app? Can you also try to install the inspector as devDependency and test again:
|
I didn't have
When running
When running
At this point my console seem to hang because I'm not able to Ctrl+C out of it. Also verified by creating a basic hello-word app. I get the same result. For the basic hello-world, I also tried it first without and then with the Xcode 8.2.1 / iOS 9.3.5 |
@pentool It seems that the package is still not found in your application. The inspector which is launched is from Running |
I have deleted the It seems this time it is trying to launch it from the correct/project folder, but it still giving me the same issue.
The |
@pentool I just managed to reproduce the problem. It seems that the latest version of tns-ios-inspector which runs on MacOS X El Capitan is 3.1.0. If you install this version in your project, you will be able to successfully launch the inspector. The reason that you haven't received this error earlier is that with TNS CLI 3.4.1 we've fixed a bug which prevented the inspector package from being ever updated after its first installation. (See #3302) |
@mbektchiev Hey, it works!!! Thank you! |
Inspector 3.4.3 (1) is working for me now. I just ran tns update, after updating the os to 10.13.2. If I have any issues, I will downgrade to 3.1.0. I think my issue may have been that tns-ios was not up to date. Thank you @dtopuzov and @mbektchiev! |
Closing since problems looks resolved. |
I am getting this error with newer versions of everything. I get it (sometimes!) with both tns debug ios and tns debug ios --inspector. Sometimes the Chrome debugger works. Other times I get the error messages. Other times I don't get the error messages, but I can't see any sources in the debugger. I don't think I've ever gotten Inspector work. I have tns-ios 4.0.1 and tns-ios-inspector 4.0.0. MacOS Sierra 10.12.6. error: attach failed: unable to attach |
Having the same issue, reinstalled pretty much everything. Haven't rebuilt project yet. Tried removing iOS folder etc as outlined above. If I try to launch inspector manually it just quits. Sierra 10.13.4 Scratch that... working again, updated to {N} 4.0.1 got it working again. Not sure why I wasn't updated already, I updated yesterday. |
Hi @danbockapps, Accept my apologies for the delayed response. The error message you are receiving may be caused by a leaked
As an additional note I'd like to tell you that in the upcoming 4.1.0 release of NativeScript we've made improvements in the debugging experience on iOS. They should address some of the sporadic issues with inability to start debug sessions. |
Tell us about the problem
When run
tns debug ios
it tries to open Nativescript Inspector and immediately closes it and throws an error.Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
I'm trying to debug nativescript tutorial app nativescript-template-ng-tutorial, and when run
tns debug ios
it has problems.Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
https://youtu.be/XgSjqBD3z0M.
On 17th second it opens and closes the nativescript inspector at the same time.
The text was updated successfully, but these errors were encountered: