tamacosmo.blogg.se

Xcode mac emulator
Xcode mac emulator











xcode mac emulator
  1. #XCODE MAC EMULATOR FOR MAC#
  2. #XCODE MAC EMULATOR SIMULATOR#
  3. #XCODE MAC EMULATOR WINDOWS#

If there really were a 'caching issue' with the Simulator it seems to me I should have problems running anything on the Mac after using the iOS Simulator from Windows, but it always works.

#XCODE MAC EMULATOR FOR MAC#

In addition, I can leave Visual Studio for Mac running (even hidden) and test an app on the iOS Simulator from Windows, then, leaving the iOS Simulator Running on the Mac, run an App on Visual Studio for Mac.

#XCODE MAC EMULATOR WINDOWS#

The reason I say that is I can ALWAYS see the iOS Device list from Visual Studio for Windows (as long as I can connect to the Mac). I sometimes delete the tmp*.binlog and tmp*.tmp as a last ditch effort before using the 'xcrun simctl erase all' command to try to get back to where Visual Studio for Mac will see the iOS Simulator Devices.įinally: This is really starting to feel like a bug in Visual Studio for Mac startup (or possibly during a iOS project load).

xcode mac emulator

The directory where they were created is the 'T' folder I'm talking about). binlog files that are written in the 'T' folder will sometimes fix the problem (if you look at an IDE log from Visual Studio for Mac right after the 'The target name of simulated device could not be added because it's already cached' message, you should see some. But occasionally I still have to clear the cache from the Terminal with 'xcrun simctl erase all' command.Īlso: I have also found (although maybe it's just my imagination) that clearing out the Visual Studio for Mac temporary. And the Simulator starts up substantially quicker then if I did a 'xcrun simctl erase all' command from Terminal.Īddendum: Most of the time the above works. It still isn't great, but this has (so far) always worked for me. try the above steps one more time (this time you should only have to close Visual Studio for Mac followed by manually starting the Simulator, waiting for it to start, and then quitting the Simulator and finally restarting Visual Studio for Mac).

  • If you still can't see the simulator devices to run on.
  • Now close the Simulator (from the Simulator menu).
  • Launch the Simulator manually (I have it in the Dock, so I just click it).
  • If you can't run a Xamarin App, Close Visual Studio for Mac.
  • either on the Mac itself or on another computer connected to the Mac (if any).
  • Close ALL copies of Visual Studio that are connected to the Mac.
  • So hare's something I found works that you might want to try. So, at first, I started clearing the cache with a 'xcrun simctl erase all' command from Terminal, and when I started Visual Studio for Mac I could run a Xamarin App, but launching the simulator took quite a bit of time. it ends up being simpler and quicker than anything else I have found. but you may just want to go down to the Addendum 2 (final?) and see if that works for you. You are welcome to read through all of this. 'The target name of simulated device could not be added because it's already cached'. Looking at the Visual Studio for Mac logs, specifically the IDE log, I found this line.













    Xcode mac emulator