Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Happens every other build or so. Check out the Xamarin.Forms source to repro.
Created attachment 11249 [details]
Diagnostic build output
## Steps to reproduce 100% of the time with any Unified API iOS app project on either Mac or Windows
1. Ensure the current configuration has the `BuildIpa` property set to `true` in the `.csproj` (add it to the configuration if needed).
2. Build the app once. It will successfully create the `.ipa`.
3. Add a "junk" line like `var foo = 10` to any of the `.cs` files, or change a value in the `Info.plist` like the "Build" number.
4. Build the app again. (Do not clean the project before building.)
The "Move" task fails when running the "_CreateIpa" target during the second build in step 4.
> Task "Move"
> Using task Move from Xamarin.MacDev.Tasks.Move, Xamarin.MacDev.Tasks, Version=1.0.5612.15789, Culture=neutral, PublicKeyToken=null
> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : Failed to move 'obj/iPhone/Release/ipa/Payload/UnifiedSingleViewIphone1.app/iTunesMetadata.plist' to 'obj/iPhone/Release/ipa/iTunesMetadata.plist': Win32 IO returned ERROR_ALREADY_EXISTS. Path:
> Task "Move" execution -- FAILED
## Manual workaround
Delete the conflicting destination file `obj/iPhone/Release/ipa/iTunesMetadata.plist` and repeat step 4.
*** This bug has been marked as a duplicate of bug 29989 ***