What is currently on fire in this month's spotlight?



Beacon Videos
Video: What are Estimote Smart Beacons?
Video: Evolve 2014
Video: What are Beacons?
Beacon Articles
Article: IOS Beacon Background Region Monitoring
Article: Estimote SDK Getting Started
Article - Use iBeacons in Android with C#

Featured Articles

Xamarin: Say Hello to Siri with SiriKit

One of the most exciting new features of iOS 10 is that it opens Siri to app developers. In this blog post, we’ll cover the basics of how to add Siri support to your existing apps. Siri was introduced in 2011 as part of iOS, after Apple acquired Siri’s developers in 2010 and integrated it […]

The post Say Hello to Siri with SiriKit appeared first on Xamarin Blog.


Xamarin: Xamarin Developer Events in November

Xamarin events are happening all over the world this month at local developer user groups and events, including Xamarin Dev Days! Community events like these make it easy to find a local C# or .NET community in your city, where you can learn how to build mobile apps for iOS, Android, and Windows in C# […]

The post Xamarin Developer Events in November appeared first on Xamarin Blog.


Xamarin: Podcast: What’s New in Xamarin.Forms 2.3.3

This week on the Xamarin Podcast, Mike James and I cover the latest and greatest additions in Xamarin.Forms that helps make it easy to bring native controls and functionality to your apps, including native view declaration and platform-specifics. Subscribe or Download Today Knowing the latest in .NET, C#, and Xamarin is easier than ever with […]

The post Podcast: What’s New in Xamarin.Forms 2.3.3 appeared first on Xamarin Blog.


Chris Riesgo: Xamarin Test Recorder for iPhone

Xamarin Test Recorder for iPhone

Xamarin Test Recorder is a really neat way to automate your mobile UI tests.

The tool lets you connect your mobile application to a device or simulator and record interactions with your app. The recorded interactions can then be fine-tuned and output as C# test cases. Those test cases can be saved for reuse in your own UI test automation projects or uploaded directly to Xamarin Test Cloud.

There are some general articles on recording tests using the test recorder, but I didn’t see any with specific instructions for setting things up for iPhone on a mac. This is my attempt at closing that gap. Hope this helps you too!

Getting Started

Here’s a basic getting started and requirements article from Xamarin.

Required: Pay close attention to the device provisioning instructions. In order to test your app on an iOS device, your app must have a development provisioning profile configured for the specific device in your Apple Developer portal.

For this post, I’m going to target a very specific version of the Xamarin Test Recorder. Because this tool is still in Preview, I want to make sure that I’m explicit.


To download the test recorder, visit the getting started link, then click the Weekly Build link along the right side panel.

Xamarin Test Recorder for iPhone

After downloading the installer and installing the app, you may be prompted to download the latest Weekly Build.

Important Note: Continue only if you’re being asked to install version 0.13.0 or greater. Device support for iPhone doesn’t appear to exist in earlier builds.

You can confirm the version you have installed by checking the About Test Recorder menu.

Xamarin Test Recorder for iPhone

This is the version I’m running for this post.

Xamarin Test Recorder  
Version 0.13.0 (1.0)  

If your version doesn’t match what I have, you can check for updates.

Xamarin Test Recorder for iPhone

Xamarin Test Recorder for iPhone


There are some preferences that can be set.

Account: Insert your Xamarin Test Cloud API Key

General: See image below
Xamarin Test Recorder for iPhone

Advanced: Android SDK and Mono Locations

Record an iPhone Test

See the Xamarin developer documentation on Recording a Test for detailed steps with screenshots.

Having Trouble?

I’m going to embed a little in case you see this too (ICYSTT) section to this post. I was plagued with problems when I tried to get started; almost to the point that I assumed there was a bug that I wouldn’t be able to work around.

  1. I chose my attached iPhone device
  2. I selected my Debug|iPhone compiled .ipa
  3. Then, after a few seconds of the test recorder attempting to connect, I would see this popup error:

    failed to install app /var/folders/7k/msfhh81j6hv3xdr09h1122hh004444/t/tmp574fcd7.tmp/payload/ applicationname='/var/folders/7k/msfhh81j6hv3xdr09h1122hh0000gn/t/xdb/deviceagent.ios.dependencies/93c12f7393c12d1493c1d41793c14444/bin/iosdevicemanager', commandline='install -d 3d0e3d0e3d0e3d0e3d0e3d0e3d0e3d0e3d0e3d0e -a /var/folders/7k/msfhh81j6hv3xdr09h1122hh004444/t/tmp574fcd7.tmp/payload/', currentdirectory='', native error= cannot find the specified file

This forum post helped me.

A colleague had a similar problem when attemping to run UITests against an iOS simulator. The “fix” mentioned in the forum helped her, and ended up helping me too. Basically, delete the {tempdir}/xdb/ directory ( /var/folders/7k/msfhh81j6hv3xdr09h1122hh0000gn/t/xdb/) then try again.

Xamarin also has a link for some Known Issues.

Hope this helps you guys! Leave comments below. I’d like to hear about the things you’re testing.


Xamarin: The Xamarin Show: Grab a Snack Pack!

We launched The Xamarin Show on Channel 9 this past September to provide content for both novice and advanced Xamarin users. Today, we’re excited to showcase the latest that The Xamarin Show has to offer in the form of Snack Packs! A Snack Pack is a bite-sized episode that’s covers a specific topic in just […]

The post The Xamarin Show: Grab a Snack Pack! appeared first on Xamarin Blog.