Xcode 5 not installing and running app in simulator - ios-simulator

I am using Xcode 5 and running app for iOS 7. When I press "Run" app does not get installed in simulator. If simulator is not running then simulator is started but nothing happens in simulator.
Xcode does not show any error or log. Xcode display status as Running App in Simulator.
If I quit Simulator still Xcode shows Running App in Simulator.

Try to select “iOS-Simulator” -> “Reset Content and Settings…” (or similar, I use the German version). Then quit iOS-Simulator, stop the running app in Xcode and then start it again.
This works for me.

Clean Project
Quit XCode
Reset Simulator
Exit Simulator before it restarts
Reboot Mac

Here is the concrete solution to your problem,
launch the iOS Simulator
Go and click "iOS Simulator" Menu
click "Reset content and settings"
close simulator and rebuild your app.
Above screen shot is showing the way how you can do this...
I think this works for you...!!!

Related

Xamarin forms IOS app crashing on launch on iPad, can't reproduce

App store review is constantly rejecting my app saying it's crashing on the launch on the iPad (15.5).
The app runs fine on the iPad on the simulator (both debug and release version). I could not reproduce the issue but Apple is rejecting it saying the splash screen is displayed for 20 seconds and the app crashes.
Is anybody else having the same issue lately?
I am running xamarin.forms 5.0.0.2478 (the latest version at this time) and the latest version of visual studio.
Any idea on how to reproduce this issue locally?

iPhone simulator in Visual Studio 2019: "Device { } not found."

I am running VS 2019 vs. 16.9.4. I have a Xamarin.Forms project and am trying to build & deploy to an iPhone simulator. I can connect to the mac and all seems ok on that end. When I try to start the app for the simulator I get a small window titled "iOS Simulator" which says "Connected", and then changes to "Waiting for device...", and then another small window pops up titled "Xamarin Simulator" which says "The device {GUID here} was not found."
I get this same series of messages regardless of which iPhone simulator I choose.
I have both XCode and Visual Studio 2019 for Mac running on the Mac.
What am I missing?
Today I updated Visual Studio to 16.9.5.
The Xamarin.iOS was updates to 14.16.0.5 in Mac hardware.
But the remote iOS Simulator still not working.
In Options > Xamarin > iOS Settings I unchecked the Remote Simulator to Windows.
Now I managed use the iOS Simulator in Mac hardware through VNC
It's not the dream solution, but works.
Iphone simulator working in Visual Studio 2019 version 16.10.4 on windows machine.
It's finally fixed! The remote iOS simulator finally works in VS 2019 16.11.5 and XCode 13.1.

iOS Remoted Simulator on windows

iOS Remoted Simulator in windows. My visual studio connected to mac successfully and also all Simulator show in visual studio on windows but problem is when clicked on any Simulator its just connecting window show a long time but not connect
First, you need to exclude the connecting problem. If it is not, that's maybe the simulator problem(official docs:https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/).
The simulator list shows on visual studio, can't make sure you pair to the mac successfully, it's maybe the cache. You should check the 'Pair to Mac' icon in visual studio, make sure it's green, as it will check the connection situation regularly. You can click it for the connection details.
If the 'Pair to Mac' icon is green, and shows a connected mac as you click it for details.
That's maybe the simulator problems. You'd better check it on mac. But it's really a small probability event.
And This is a standard solution to this problem:
Some suggestions :
Upgrade everything to the latest (VS for mac , VS for windows , XCode ).
Restart PC and visual studio .
Delete bin and obj folder on windows side.
Reconnect mac agent .
Clean and rebuild .
Change simulator(iPhone X e,g)
Disable remote simulator to Windows (Tools - Options - Xamarin - iOS Settings)
If problem persists , attach your build log here (Help - Xamarin - Open Logs).
(https://forums.xamarin.com/discussion/176150/simulator-doesnt-show-up)

Release mode app not installed on other device

I run a Xamarin.Forms project on Release mode on my device. It's installed on my device. When I share the app to other device, the app is not installed. It shows the error like "App not installed"
Please see the logcat output here:
Can any one please help me to resolve this issue.

Xamarin : iOS simulator : the selected execution mode is not supported for .net projects

I've just installed Visual Studio on my Mac and started my first Xamarin Forms project. I've clicked "Getting Started" for my HelloWorld, and tried to run in the iOS simulator and got the following error :
the selected execution mode is not supported for .net projects
Could anyone please explain to me why this problem appears and how to open the simulator? Android simulator works just fine.
For those having similar issues, it seems as though the Getting Started doesn’t quite work well on Mac.
Instead of using it to open the simulators, simply right click your project and run from simulator there instead.

Resources