How can I copy IPA output files to the TFS drop folder?
- PDF for offline use
Let us know how you feel about this
Translation Quality
0/250
last updated: 2017-03
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):
<PropertyGroup>
<CreateIpaDependsOn>
$(CreateIpaDependsOn);
CopyIpa
</CreateIpaDependsOn>
</PropertyGroup>
<Target Name="CopyIpa"
Condition="'$(OutputType)' == 'Exe'
And '$(ComputedPlatform)' == 'iPhone'
And '$(BuildIpa)' == 'true'
And '$(TF_BUILD)' == 'true'">
<Copy
SourceFiles="$(OutputPath)$(IpaPackageName)"
DestinationFolder="$(TF_BUILD_BINARIESDIRECTORY)"
/>
</Target>
Notes
This is the same general technique discussed on Can I change the output path of the IPA file?. The two important points are to set
$(TF_BUILD_BINARIESDIRECTORY)as the destination folder and to add an extra condition soCopyIpawill only run for TFS builds.For a description of
TF_BUILD_BINARIESDIRECTORYsee https://msdn.microsoft.com/en-us/library/hh850448.aspx.
Additional references
Next Steps
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. For further assistance, to contact us, or if this issue remains even after utilizing the above information, please see What support options are available for Xamarin? for information on contact options, suggestions, as well as how to file a new bug if needed.
Let us know how you feel about this
Translation Quality
0/250
Xamarin Workbook
If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.

