Bug 36774

Summary: UnhandledException publishing AdHoc build iTunesMetadata.plist already exists
Product: [Desktop] Xamarin Studio Reporter: John Miller [MSFT] <john.miller>
Component: iOS add-inAssignee: Jeffrey Stedfast <jestedfa>
Severity: normal CC: brendan.zagaeski, mono-bugs+monodevelop, oleg.demchenko
Priority: ---    
Version: 5.10 (C6SR3)   
Target Milestone: C6SR2   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:

Description John Miller [MSFT] 2015-12-09 16:09:26 UTC

   Xamarin Studio throws an unhandled exception while trying to publish an AdHoc build. 

**Steps to Reproduce:**

   Unable to reproduce in my environment. 

**Actual Results:**

   See attached logs for full stack trace.

>FATAL ERROR [2015-12-08 23:38:20Z]: An unhandled exception has occured. Terminating Xamarin Studio? True
>System.AggregateException: One or more errors occurred. ---> System.IO.IOException: /var/folders/jg/c232s2h95f9576jqzvgtsm000000gn/T/mdTmpDir2061006485/iTunesMetadata.plist already exists

**Expected Results:**

   No exceptions. 

**Build Date & Platform:**

=== Xamarin Studio ===

Version 5.10.1 (build 6)
Installation UUID: b6932faf-ccfd-4324-a7ed-e11a8199cde9
Mono 4.2.1 (explicit/6dd2d0d)
GTK+ 2.24.23 (Raleigh theme)

Package version: 402010102

=== Xamarin.Profiler ===

Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.1.1 (9081)
Build 7B1005

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: eb4c1ef
Branch: master
Build date: 2015-12-01 02:12:30-0500

=== Xamarin.Android ===

Version: (Starter Edition)
Android SDK:
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)

SDK Tools Version: 22.3
SDK Platform Tools Version: 19.0.0
SDK Build Tools Version: 17.0.0

Java SDK: /usr
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 20:28:20-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-lion-cycle6-baseline

=== Operating System ===

Mac OS X 10.11.1
Comment 3 Jeffrey Stedfast 2016-01-25 18:05:09 UTC
Comment 7 xamarin-release-manager 2016-02-26 19:49:38 UTC
Fixed in version (cycle6)

Author: Greg Munn
Commit: 96635e4c6f48b8c5d2001e6b0faeea4cd9f017be (xamarin/md-addins)
Included in Commit: 8dfff81c44e8bc8edb9e797e19c9dfb145754931 (mono/monodevelop)