How can I copy IPA output files to the TFS drop folder?
- PDF for offline use
Let us know how you feel about this
.csproj file for the iOS app project in a text editor and then add the following lines at the end (immediately before the closing
<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>
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 so
CopyIpawill only run for TFS builds.
For a description of
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.