Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Trying iOS 11 With Xamarin

DZone's Guide to

Trying iOS 11 With Xamarin

If you're anxious to see iOS 11 working with Xamarin, check out this post to see how you can do just that with Xcode and a simulator.

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

The triathlon season is over. I completed all three, planned races for this year:

  1. Ironman 70.3 Coeur d’Alene
  2. SeaFair Sprint Triathlon (new PR!)
  3. Lake Meridian Olympic Triathlon (new PR!)

I also finished RAMROD (epic Ride Around Mt Rainier in One Day) and Course d’Equipe. The last bike ride for this season is Gran Fondo Whistler in two weeks.

In the meantime…

The Winter Is Coming!

Apple is cooking for us iOS 11, and I decided to give it a shot! It actually works nice.

  1. Install latest Xcode beta from here.
  2. Install latest Xamarin.iOS (all links are here, hint: version is 10.99, not 11 yet).
  3. Set VS for Mac to Xcode-beta (Preferences -> Projects -> SDK Locations -> Apple -> Location).

If you did everything correctly, you should be able to see the new iOS11 simulator:

iOS 11 simulator

I encountered one issue: when deploying to the device, I got the following errors:

Error: unable to find utility “lipo,” not a developer tool or in PATH/
Error: Failed to create the fat library

The solution was to run the following command:

sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer/

Related Xamarin Forums thread.

Summary

So far everything works pretty well. Occasionally when I run VS for Mac, it doesn’t detect simulators, but after a restart, they are back!

Have you tried iOS 11 yet?

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:
library ,error ,developer ,ios 11 ,mobile ,xamarin

Published at DZone with permission of Jakub Jedryszek, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}