Can't call menu in iOS simulator using command+D - ios

I've being using iOS simulator for some time and always used command+D for calling debug menu. But now something happend and menu is not appeared after command+D click.
Who knows what may happend with simulator?
I mean this menu

Check if you are under Debug scheme , if you are under scheme, please provide your react native version, 0.43 pre-release version has a bug about this .

Related

iPad Crashes on Start Up Using Xamarin.Forms

I have been trying to test and debug on my iPad but I have not been able to get it to work. I develop on a PC and remotely build to a Mac onto an iPad Pro with iPadOS 15.2.1. It works fine when I build to a physical iPhone 11 with iOS 15.1. I even get it to work on an iPad Pro emulator. I went through the entire documentation on Microsoft and that was no help. I attached a YouTube video of my issue to help better illustrate the problem.
My iPad is provisioned for development on my Apple Developer Account.
I have tried placing breakpoints before the Forms.Init in the AppDelegate.cs and it doesn't reach that point. It does, however, reach my launch screen before it crashes.
I have also created a quick project in Xcode with the same bundle Id and the quick project runs as expected.
I am using Xcode 13.2.1 and Xamarin.Forms 5.0.0.2337.
Thanks for any help in advance.
Click here to see the issue
This is a known issue which reported here : https://github.com/xamarin/xamarin-macios/issues/9938 .
The possible workaround is
Add --weak-framework SensorKit to the additional mtouch arguments.
Switch linking option between Don't Link and Link Framework SDKs Only .
As per the same github comment shown above the statement the mtouch arguement --weak-framework=SensorKit.framework/SensorKit worked for me instead of --weak-framework SensorKit
What I had to do to work around this was set the deployment target lower (in my case 9.0) in my info.plist.

Flutter - How to debug iOS native codes?

I write flutter codes in Android studio. I using ios native codes to supply platformview integrated in flutter widget tree. But how can I debug iOS native codes?
addition: I am using iPhone simulator to debug?
You can test it by run it from XCode, here you can set breakpoint and have the same iOS native debugging experience.
Luckily run it from XCode is really easy, just open ios directory in the project and press the button to run it.
If you need more specific info let me know and I will answer you.
EDIT :
The project you need to open with XCode is:
For playing it you need to press top-left play button as in the image:

Xcode Memory Graph Debugging Icon not showing

I've recently started working on an existing objc project and wanted to check the memory graph debugging tool. As I started a debugger with the app I realised it doesn't show in the debugging tools.
I tried it with another project (created a new swift project) and the icon suddenly did show again. But only for this project.
So my question now is if there're any settings in a particular project that can prevent the memory graph debugging tool from showing?
Any hints are appreciated.
I tried a lot of different simulators (iOS 9/10/11). I event tried rebooting my macbook because I read somewhere this could help ;-)
I'm using an objc only project with Xcode 9.1 or Xcode 9.2 beta 2.
This is my diagnostics selection in the scheme if that's related:
Step 1: shut down and restart your iPhone.
Step 2: quit and reopen Xcode.
This should make the button reappear.
For some reason, the button is not there when I test on the device, but it's there when I test on the simulator.
Hi I was having the same issue. It's actually hidden here:
It appears that the memory debugger will only work for newer devices. It definitely does appear on the iPhone 8 running iOS 11. On some of my older devices it does not appear. I'm not sure at this time what the cutoff is.

Xcode 6.4 cannot run using the selected device

I know that I repeat this topic but I didn't find the solution. I don't have developer account, I just want to run the iOS simulator with my project. All the uptdates are instaled including iOS simulatores, Compiler for C/C++/Obj-C is set as Default compiler(Apple LLVM 6.1). Also I can't choose any device on the left side of "set the active scheme", there's only iOS Device. I have tried to change the versions of XCode and iOS to earlier and nothing happened. I found
I will be very gratefull for help!
In the Xcode options select Window>Devices and see if the simulators are created. If not, you would need to create simulators depending on which one you need.

where I can find the iphone simulator for launching xamarin IOS Application

I am pulling my hair on this Issue . Actually I am developing first time IOS Application with the help of xamarin. I am creating this Application on MAC. The Hello world Application has been Created. I have take Referenced from Xamarin Hello World Tutorial . But I have not getting the IOS Simulator Option in devices drop down. It have only two option ,Ios Device and Default.For the simulator ,Is There need any Installation or something else.Please help me and any help will be Appreciated.
Does it find XCode in the right location? Check by clicking Xamarin Studio>Preferences>SDK Locations>Apple. If the Apple SDK was not found, you can manually specify XCode location path.
I had this problem because I was trying to create and use an iOS project using the "Unified API." I suggest not using this and sticking with the "Classic API." The former does not work (it won't build) if you want to use the simulator rather than a real device.
Are you not getting screen like below.???
go through below link , it may help you my friend..
http://docs.xamarin.com/guides/ios/getting_started/installation/mac/
I think you don't have iOS SDKs for your Xcode, usually it comes with the Xcode but if for some reasons you don't find it, simply follow the steps listed below:
Go to Finder > Applications > XCode (Right Click) > Show Package Content
A new finder window will open with Contents folder
Content > Developer > Platforms > iPhoneSimulator.platform > Developer > SDKs > Here you should get the list of *.sdk files
If there are no files then download the SDK file and paste it here, close the Xcode, Monotouch, and again Open it, you should find the iOS simulators in the dropdown.
You should be able to get the Xcode and SDk here
Please verify if you have installed Xcode correctly because it usually contains atleast 1 SDK
It was the Issue of xcode version.I have updated the version Now ots working fine.Thanks JAL.
select Debug-iPhoneSimulator option Image1
Right click on the project in your solution pane
select Run with iPhoneSimulator Image2

Resources