Xamarin.iOS crash on 6.1 simulator - xamarin

i recently received my Macbook and wanted to start developing iOS apps with it.
I Created a default Master-Detail App using the Templates in Xamarin.Studio and everything worked.
Now today i wanted to actually do something in the app, but didn't change a single line of code, still the app doesn't show up anymore in the simulator as long as i want it to use the 6.1 sdk for ios. if i use any other (6.0 etc) it works fine.
I already tried clearing my Cache in /Users/MYNAME/Library/Xamarin/ but this didn't change anything.
What would you suggest me to do now? can i simply reinstall the 6.1 sdk?if so, how would i do this?
Thanks for your help

I had a similar problem where the environment hang when I was trying to debug in the simulator (just showing the spinning ball). I found out that it only occured if I had my phone connected to the computer. Perhaps not valid in your case, but it might be a lead in your problem solving.
I'm using the latest version of everything. :)

From within Xamarin Studio (or MonoDevelop):
Project -> Your.Application.Name Options
Build -> iOS Build (iPhone Build in MonoDevelop)
SDK version: -> 6.1 (it's probably still on 6.0)
This fixed it for me. Also, it wouldn't hurt to make sure the target build in info.plist is set to 6.1.

Delete this folder:
/Users/[username]/Library/Application Support/iPhone Simulator/6.1
And if your Library folder is hidden:
sudo chflags nohidden ~/Library/

I have experienced this problem several times again and my previous answer doesn't solve it. Ya know what does? Rebooting the computer. Works every time. shrug

You need to fill the Application name, Identifier, Version # in the project setting.
I had the same problem and got it solved that way.

Related

Xcode can't install WatchKit App:"App installation failed Could not connect to the device."

The Watch paired with my iPhone is shown as the run destination, so I think it's connected. However the WatchKit app can't be installed on the watch.
watchOS 5.1.3 (S4)
iOS 12.1.3 (iPhone 7)
Here's the screenshot of the alert:
I've tried many options but none of them work.
1. repair the watch,
2. clean the build,
3. delete the Derirveddata directory
The app is a newly created project which has no custom code.
What could be the possible season that the app can't be install onto the watch as it should?
Thank you in advance.
Turning WiFi off on your iPhone should make it work... at least until Apple fixes the root cause of this issue :/
There seems to be no reliable fix, and this has happened for me since 2017. A commenter here said it's probably been around since the beginning of WatchKit. If anyone experiencing this could file it in Feedback Assistant (please run xcrun xcdevice list when in the bugged state) that would be greatly appreciated, so that it rises on Apple's priority list and attached logs perhaps help them fix it.

Using SpriteKit crashes Xcode 8, is there a way to resolve?

Whenever I try and add any SpriteKit elements to my project, Xcode crashes. The files are created but not added to the project and if adding them manually, it still crashes when trying to open them. After some searching it looks as though previous versions have suffered with the same issue. I had the same issue with 8 beta 6 too.
Is there anything I can do to help with the issue? I can't find anything on the most up to date version so I'm guessing it's either something I'm doing or a problem with my setup.
I've the same issue when I try to maintain 2 Xcode versions in the same system, it is possible but you should install them into separate directories, for example Xcode_731 and Xcode_8 (my actual version is 8A218a GM, I haven't any crash).
This should be unuseful without crashes, but try also to free some memory (quit also simulator app after your crash), in your terminal:
sudo purge

Resetting Xcode's device/version list to run

I want to test/run my app on different iOS versions in Xcode, but somehow I can't see any option to change iOS simulator version (I have both 6 and 7 SDK/Simulator installed) in run targets. I'm also seeing all of my attached devices twice (I have only ONE iPod, but when I connect something else, they all display twice):
There's probably a bug with the device list of Xcode. How can I reset this list? I've tried resetting the scheme, but scheme is project related anyway. The problem occurs in all projects, not only a single project.
First of all, you have to install the 6.1 Simulator.
After that, you can choose which simulator version to use:
I've figured out the problem. I was on the "Latest iOS SDK" which was 7.1 SDK (I also have XCode 5.1DP installed). I've changed the base SDK to 7.0 and I am again able to choose. I still have two entries for each physical device but I can live with that.

Xcode/Phonegap not compiling the right version of my app

When I compile my mobile app using Xcode and Phonegap, the application on the iPod/iPhone/iPad is the anterior version that I compiled yesterday.
Basically when I run the app in the emulator, all works fine, so I know it's the right files and everything, but when I then build it for the mobile device, it shows the one I did yesterday.
What could be causing this? Is there any settings I should check or something? Like I said I doubt it's related to the files/folder because when emulating it, it works fine.
Thanks!
I had a similar problem long time ago. Try to delete your app on the device and then build it again. I don't know how apple manage apps but I think that the major of your app is keeped on your device (in order to speed up compilation).
I hope it will works !
Did you increase the version number of your built? If you recompile with the same number, you may run into trouble.

Build and Archive Is Disabled

I've read every other thread on this and have tried everything but the "Build and Archive" function is determined not to be clicked.
I am running OSX 10.6.7 and Xcode 3.2.4. I am developing a MAC application and am trying to submit it to the Mac App Store, but to do this i need to run the Build and Archive feature, and I simply cannot figure out how to get it to run. I have heard about these "developer tools 1.1" from some other thread but cannot find those either. If you are about to say that that will fix things, then please link me, otherwise, any suggestions are greatly appreciated.
P.S. Yes im in Release Mode
Another answer could be that your active SDK should be set to Device not to simulator. You can find this setting in Project > Set Active SDK > Device.
Happy Coding..!
Figured it out... In order to Build and Archive with a Mac App (as opposed to iOS) you need Xcode 3.2.5 (maybe even 3.2.6) or better. So to all those with the same problem, make sure you are running the lasest version before trying ot Build and Archive.

Resources