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

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

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.

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.