简体   繁体   中英

Xamarin.iOS crash on 6.1 simulator

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 .

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

Delete this folder:

/Users/[username]/Library/Application Support/iPhone Simulator/6.1

And if your Library folder is hidden:

sudo chflags nohidden ~/Library/

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM