Nativescript no elements in "Inspect Element" tab while debugging - nativescript

When I run tns debug ios, after "Backend socket created" it throws following error
assertion failed: 16G29 15A8401: libxpc.dylib + 69578 [CBE96042-79D0-3515-8570-968B28E72519]: 0x7d
The debugger opens and app runs as it should, but in the inspect element tab there is no content. I have reinstalled my entire OS and installed nothing but nativescript and still get this error. Same result if I use --chrome in the chrome dev tools
Also I can run the app on android, no error there, but still nothing in the inspect panel. So maybe my missing elements are not related to this error at all, but what else would cause an empty inspect panel?
Any ideas?

Related

"Unable to launch" on Xcode when i build my code on my iPhone

my code works on simulator but it doesn't work on real device with a message
Unable to launch
i want to play my code on my iPhone but i don't know how because i'm a beginner
please help
it happened to me too, it happened probably because i deleted the app from the phone maybe while running xcode, and xcode is afterwards confused and denies to install and run the app with the message "unable to launch" the solution is hold Alt key and press the Run button then you select specifically the app you want to run (i had there "Ask on launch") after this, the message unable to launch disappeared (and app was installed on phone though) but another message returned "iphone denied the request" so then i again returned "ask on launch" and it worked again.

XAMARIN IOS APP Closes automatically on launching with no crash report

The ios app was working fine and I was working and debugging on the simulator, suddenly the app starts and closes, no crash report. The app closes after loading the assembly as per what I can see from the application output log with no crash report. Even the debugger detaches and stopped debugging and comes to it default play state.
Lastly I also see the this error " The call is ambiguous between the calling methods App.InitializeComponent() and App.InitializeComponent(). Basically for all Xaml Pages.
I tried reinstalling all the packages and updating for all Packages(shared/ios/android) but still issue persist.
Screenshot of the package installed.

"No active iOS device found" when trying to access simulator logs

Somehow when I run npm run log:ios (react-native log-ios), I get the following error:
No active iOS device found
I have the simulator up and running with the app open.
Any idea why, or how can I start to investigate this issue?
PS: I recently installed Xcode 9.1-beta2 as I wanted to check something inherited from this upgrade. Not sure what role it would/could have played in this case.
The issue with react-native log-ios has not been resolved yet due to some other priorities. There is a simple workaround using Console.app. To open Console.app: ⌘ + space > type console, press enter.
Simulator log can also be seen under Debug > Open System Log
Edit: If you want to see console.log for debugging in iOS Simulator
Open Safari, Go preferences -> advanced -> Show Develop menu in the menu bar. Once done, build and run in Xcode and then in safari go Develop -> iPhone Simulator -> Your App Name.

Xcode: Unable to run simulator error

An error was encountered while running (Domain = NSMachErrorDomain, Code = -308)
That is the popup message I get every time. I found another question on here that had a bunch of solutions. I tried a dozen of them without much luck. After seeing the error message it will load the "Home" screen of the simulator but will have trouble running my app.
I made a new blank project and only added a text label to see if the error still happened with a next to blank app and it did.
Any ideas?
Open the iOS Simulator and restore it by clicking on Reset Content and Settings.

Visual Studio Debugger - Unable To Attach. Operation Timed Out

I started to get this error when trying to run my CordovaApp in Debug Mode: Unable to attach.Operation timed out. First i was getting it quite often but still sometimes it was able to attach and now i'm always getting it.
The application is deployed and started successfully in the emulator or on my Android Device.
How can I solve this? Is it possible to increase timeout threshold? (maybe if I wait more it can attach as sometimes it was working before).
EDIT:
Reproducible on 3 different machines.
I had the same issue,
find some workaround that works for me without restarting.
all is done in emulator UI
in the emulator -> apps (show all apps installed including yours that refuse to run)
side bar -> click "menu" and select "Manage Apps"
scroll down to your app
click "clear data" and "force stop"
go back to apps and click on your app.
cross your fingers and wait few seconds ..
hope it's helps

Resources