How can I copy IPA output files to the TFS drop folder?

Open the .csproj file for the iOS app project in a text editor and then add the following lines at the end (immediately before the closing </Project> tag):


<Target Name="CopyIpa"
	Condition="'$(OutputType)' == 'Exe'
		And '$(ComputedPlatform)' == 'iPhone'
		And '$(BuildIpa)' == 'true'
		And '$(TF_BUILD)' == 'true'">


Additional references

Contact information

This document discusses the current behavior as of Xamarin 3.11.666 for Visual Studio and Xamarin.iOS 8.10.3 on the Mac build host. The technique described in this document is not part of the stable testing suite for Xamarin, so it could break in the future.

If you notice that the technique no longer works on a more recent version, or if you notice any other mistakes in the document, please let us know by writing to or to one of your support email addresses listed on Thanks!

Last Updated: Oct 21, 2016 06:25PM EDT