Bug 54994 - C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(956, 3): error MSB3375: The file "bin\AppStore\AppName.app.dSYM\Contents\Info.plist" does not exist.
Summary: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xama...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 53183 56148 ()
Depends on:
Blocks:
 
Reported: 2017-04-11 03:37 UTC by Jahmai
Modified: 2017-11-15 00:38 UTC (History)
18 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Jahmai 2017-04-11 03:37:32 UTC
When building AppStore/Ad-Hoc builds that produce a dSYM, I get the following error:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(956, 3): error MSB3375: The file "bin\AppStore\AppName.app.dSYM\Contents\Info.plist" does not exist.

Seems to relate to the Touch task in the _GenerateDebugSymbols target of Xamarin.iOS.Common.targets.
After the build has failed, I checked both the build host and the VS machine and they both have a valid AppName.app.dSYM directory which does contain the Info.plist file, so it's confusing as to why

--- MSBUILD OUTPUT SNIPPET ---

[14:58:19] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CompileAppManifest
[14:58:19] :												 [_CompileAppManifest] CompileAppManifest
[14:58:19] :													 [CompileAppManifest] CompileAppManifest Task
[14:58:19] :													 [CompileAppManifest]   AppBundleName: AppName
[14:58:19] :													 [CompileAppManifest]   AppBundleDir: bin/AppStore/AppName.app
[14:58:19] :													 [CompileAppManifest]   AppManifest: Info.plist
[14:58:19] :													 [CompileAppManifest]   Architecture: ARMv7, ARM64
[14:58:19] :													 [CompileAppManifest]   AssemblyName: AppName
[14:58:19] :													 [CompileAppManifest]   BundleIdentifier: com.criticalarc.appname
[14:58:19] :													 [CompileAppManifest]   Debug: False
[14:58:19] :													 [CompileAppManifest]   DebugIPAddresses: <null>
[14:58:19] :													 [CompileAppManifest]   DefaultSdkVersion: 10.3
[14:58:19] :													 [CompileAppManifest]   IsAppExtension: False
[14:58:19] :													 [CompileAppManifest]   IsWatchApp: False
[14:58:19] :													 [CompileAppManifest]   IsWatchExtension: False
[14:58:19] :													 [CompileAppManifest]   PartialAppManifests:
[14:58:19] :													 [CompileAppManifest]     obj/AppStore/actool/partial-info.plist
[14:58:19] :													 [CompileAppManifest]   ResourceRules: <null>
[14:58:19] :													 [CompileAppManifest]   SdkPlatform: iPhoneOS
[14:58:19] :													 [CompileAppManifest]   SdkIsSimulator: False
[14:58:19] :													 [CompileAppManifest]   TargetFrameworkIdentifier: Xamarin.iOS
[14:58:19] :												 [_CompileAppManifest] RemoveDir
[14:58:19] :													 [RemoveDir] Directory "bin\AppStore\AppName.app.dSYM" doesn't exist. Skipping.
[14:58:19] :											 [Source\Applications\iOS\AppName\AppName.csproj] _GetNativeExecutableName
[14:58:19] :												 [_GetNativeExecutableName] GetNativeExecutableName
[14:58:19] :													 [GetNativeExecutableName] GetNativeExecutableName Task
[14:58:19] :													 [GetNativeExecutableName]   AppManifest: bin/AppStore/AppName.app/Info.plist
[14:58:19] :											 [Source\Applications\iOS\AppName\AppName.csproj] _ParseExtraMtouchArgs
[14:58:19] :												 [_ParseExtraMtouchArgs] ParseExtraMtouchArgs
[14:58:19] :													 [ParseExtraMtouchArgs] ParseExtraMtouchArgs Task
[14:58:19] :													 [ParseExtraMtouchArgs]   ExtraArgs: --nolinkaway --linkskip=System.Reactive.Core --linkskip=System.Reactive.Linq --linkskip=System.Reactive.PlatformServices --xml=LinkerConfiguration.xml
[14:58:19] :													 [ParseExtraMtouchArgs]   NoSymbolStrip: False
[14:58:19] :													 [ParseExtraMtouchArgs]   NoDSymUtil: <null>
[14:58:19] :													 [ParseExtraMtouchArgs]   NoSymbolStrip Output: False
[14:58:19] :													 [ParseExtraMtouchArgs]   NoDSymUtil Output: false
[14:58:19]W:											 [Source\Applications\iOS\AppName\AppName.csproj] _CompileToNative (4m:54s)
[14:58:19]W:												 [_CompileToNative] MTouch (4m:54s)

{SNIP}

[15:03:14] :													 [MTouch] MTouch Task
[15:03:14] :													 [MTouch]   AppBundleDir: bin/AppStore/AppName.app
[15:03:14] :													 [MTouch]   AppExtensionReferences:
[15:03:14] :													 [MTouch]   AppManifest: bin/AppStore/AppName.app/Info.plist
[15:03:14] :													 [MTouch]   Architectures: ARMv7, ARM64
[15:03:14] :													 [MTouch]   ArchiveSymbols: <null>
[15:03:14] :													 [MTouch]   BitcodeEnabled: False
[15:03:14] :													 [MTouch]   CompiledEntitlements: obj/AppStore/Entitlements.xcent
[15:03:14] :													 [MTouch]   Debug: False
[15:03:14] :													 [MTouch]   EnableGenericValueTypeSharing: True
[15:03:14] :													 [MTouch]   EnableSGenConc: False
[15:03:14] :													 [MTouch]   Entitlements: Entitlements.plist
[15:03:14] :													 [MTouch]   ExecutableName: AppName
[15:03:14] :													 [MTouch]   ExtraArgs: --nolinkaway --linkskip=System.Reactive.Core --linkskip=System.Reactive.Linq --linkskip=System.Reactive.PlatformServices --xml=LinkerConfiguration.xml
[15:03:14] :													 [MTouch]   FastDev: False
[15:03:14] :													 [MTouch]   HttpClientHandler: HttpClientHandler
[15:03:14] :													 [MTouch]   I18n: <null>
[15:03:14] :													 [MTouch]   IntermediateOutputPath: obj/AppStore/mtouch-cache
[15:03:14] :													 [MTouch]   IsAppExtension: False
[15:03:14] :													 [MTouch]   LinkerDumpDependencies: False
[15:03:14] :													 [MTouch]   LinkMode: Full
[15:03:14] :													 [MTouch]   MainAssembly: bin/AppStore/AppName.exe
[15:03:14] :													 [MTouch]   NativeReferences: <null>
[15:03:14] :													 [MTouch]   OutputPath: bin/AppStore/
[15:03:14] :													 [MTouch]   Profiling: False
[15:03:14] :													 [MTouch]   ProjectDir: ~/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed
[15:03:14] :													 [MTouch]   References:

{SNIP}

[15:03:14] :													 [MTouch]   SdkIsSimulator: False
[15:03:14] :													 [MTouch]   SdkRoot: /Applications/Xcode.app/Contents/Developer
[15:03:14] :													 [MTouch]   SdkVersion: 10.3
[15:03:14] :													 [MTouch]   SymbolsList: obj/AppStore/mtouch-symbols.list
[15:03:14] :													 [MTouch]   TargetFrameworkIdentifier: Xamarin.iOS
[15:03:14] :													 [MTouch]   UseFloat32: False
[15:03:14] :													 [MTouch]   UseLlvm: False
[15:03:14] :													 [MTouch]   UseThumb: False
[15:03:14] :													 [MTouch]   Verbosity: 0
[15:03:14] :													 [MTouch] Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch execution started with arguments: --cache /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-cache --dev /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app --executable AppName --sdkroot /Applications/Xcode.app/Contents/Developer --sdk 10.3 --targetver 8.0 --http-message-handler=HttpClientHandler --abi=armv7,arm64 --symbollist /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-symbols.list --dsym=no --nolinkaway --linkskip=System.Reactive.Core --linkskip=System.Reactive.Linq --linkskip=System.Reactive.PlatformServices --xml=LinkerConfiguration.xml {SNIP}
[15:03:14]W:													 [MTouch] C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(747, 3): Aot files could not be copied to the destination directory /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-cache/64/Build/Msym/Msym/tmp: Could not start process.
[15:03:14]W:													 [MTouch] C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(747, 3): Aot files could not be copied to the destination directory /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-cache/32/Build/Msym/Msym/tmp: Could not start process.
[15:03:14] :													 [MTouch] /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app built successfully.
[15:03:14] :												 [_CompileToNative] Touch
[15:03:14] :													 [Touch] Creating "bin\AppStore\mtouch.stamp" because "AlwaysCreate" was specified.
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CompileITunesMetadata
[15:03:14] :												 [_CompileITunesMetadata] CompileITunesMetadata
[15:03:14] :													 [CompileITunesMetadata] CompileITunesMetadata Task
[15:03:14] :													 [CompileITunesMetadata]   AppBundleDir: bin/AppStore/AppName.app
[15:03:14] :													 [CompileITunesMetadata]   ITunesMetadata: <null>
[15:03:14] :													 [CompileITunesMetadata]   OutputPath: bin/AppStore/iTunesMetadata.plist
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CollectITunesArtwork
[15:03:14] :												 [_CollectITunesArtwork] CollectITunesArtwork
[15:03:14] :													 [CollectITunesArtwork] CollectITunesArtwork Task
[15:03:14] :													 [CollectITunesArtwork]   ITunesArtwork: <null>
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CopyITunesArtwork
[15:03:14] :												 [_CopyITunesArtwork] Skipping target "_CopyITunesArtwork" because it has no inputs.
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CreatePkgInfo
[15:03:14] :												 [_CreatePkgInfo] CreatePkgInfo
[15:03:14] :													 [CreatePkgInfo] CreatePkgInfo Task
[15:03:14] :													 [CreatePkgInfo]   OutputPath: bin/AppStore/AppName.app/PkgInfo
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _GenerateAppExtensionDebugSymbols
[15:03:14] :												 [_GenerateAppExtensionDebugSymbols] RemoveDir
[15:03:14] :													 [RemoveDir] Directory "bin\AppStore\AppName.app\..\.dSYM" doesn't exist. Skipping.
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CollectFrameworks
[15:03:14] :												 [_CollectFrameworks] CollectFrameworks
[15:03:14] :													 [CollectFrameworks] CollectFrameworks Task
[15:03:14] :													 [CollectFrameworks]   AppBundlePath: bin/AppStore/AppName.app/
[15:03:14] :													 [CollectFrameworks] No Frameworks directory found.
[15:03:14] :											 [Source\Applications\iOS\AppName\AppName.csproj] _GenerateFrameworkDebugSymbols
[15:03:14] :												 [_GenerateFrameworkDebugSymbols] Skipping target "_GenerateFrameworkDebugSymbols" because it has no inputs.
[15:03:14]E:											 [Source\Applications\iOS\AppName\AppName.csproj] _GenerateDebugSymbols (11s)
[15:03:14] :												 [_GenerateDebugSymbols] RemoveDir
[15:03:14] :													 [RemoveDir] Directory "bin\AppStore\AppName.app.dSYM" doesn't exist. Skipping.
[15:03:15] :												 [_GenerateDebugSymbols] DSymUtil (10s)
[15:03:25] :													 [DSymUtil] DSymUtil Task
[15:03:25] :													 [DSymUtil]   AppBundleDir: bin/AppStore/AppName.app
[15:03:25] :													 [DSymUtil]   Architectures: ARMv7, ARM64
[15:03:25] :													 [DSymUtil]   DSymDir: bin/AppStore/AppName.app.dSYM
[15:03:25] :													 [DSymUtil]   Executable: bin/AppStore/AppName.app/AppName
[15:03:25] :													 [DSymUtil] Tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil execution started with arguments: -t 4 -z -o bin/AppStore/AppName.app.dSYM bin/AppStore/AppName.app/AppName 
[15:03:25] :													 [DSymUtil] while processing /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-cache/libUserVoice.a(UserVoice.o):
[15:03:25] :													 [DSymUtil] warning: /var/folders/s_/m0fjy19n3_x5tnr4pfvx_z1c0000gp/C/com.apple.DeveloperTools/7.0-7A218/Xcode/SharedPrecompiledHeaders/UserVoice_Prefix-cemskxhozggatlabrcxqvydduxjw/UserVoice_Prefix.pch.pch: No such file or directory
[15:03:25] :													 [DSymUtil] while processing /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/mtouch-cache/libUserVoice.a(UserVoice.o):
[15:03:25] :													 [DSymUtil] warning: /var/folders/s_/m0fjy19n3_x5tnr4pfvx_z1c0000gp/C/com.apple.DeveloperTools/7.0-7A218/Xcode/SharedPrecompiledHeaders/UserVoice_Prefix-axbllcwdvmtdfsgaozoqlvgidayx/UserVoice_Prefix.pch.pch: No such file or directory
[15:03:25] :												 [_GenerateDebugSymbols] SymbolStrip
[15:03:26] :													 [SymbolStrip] SymbolStrip Task
[15:03:26] :													 [SymbolStrip]   Executable: bin/AppStore/AppName.app/AppName
[15:03:26] :													 [SymbolStrip]   IsFramework: False
[15:03:26] :													 [SymbolStrip]   SymbolFile: obj/AppStore/mtouch-symbols.list
[15:03:26] :													 [SymbolStrip] Tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip execution started with arguments: -i -s obj/AppStore/mtouch-symbols.list bin/AppStore/AppName.app/AppName 
[15:03:26] :													 [SymbolStrip] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: removing global symbols from a final linked no longer supported.  Use -exported_symbols_list at link time when building: /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app/AppName (for architecture armv7)
[15:03:26] :													 [SymbolStrip] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: removing global symbols from a final linked no longer supported.  Use -exported_symbols_list at link time when building: /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app/AppName (for architecture arm64)
[15:03:26]E:												 [_GenerateDebugSymbols] Touch
[15:03:26]E:													 [Touch] C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(956, 3): error MSB3375: The file "bin\AppStore\AppName.app.dSYM\Contents\Info.plist" does not exist.
[15:03:26] :												 [_GenerateDebugSymbols] SpotlightIndexer
[15:03:26] :													 [SpotlightIndexer] SpotlightIndexer Task
[15:03:26] :													 [SpotlightIndexer]   Input: bin/AppStore/AppName.app/../
[15:03:26] :													 [SpotlightIndexer] Tool /usr/bin/mdimport execution started with arguments: bin/AppStore/AppName.app/../ 
[15:03:26] :											 [Source\Applications\iOS\AppName\AppName.csproj] _ValidateAppBundle
[15:03:26] :												 [_ValidateAppBundle] ValidateAppBundleTask
[15:03:26] :													 [ValidateAppBundleTask] ValidateAppBundle Task
[15:03:26] :													 [ValidateAppBundleTask]   AppBundlePath: /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app/
[15:03:26] :													 [ValidateAppBundleTask]   SdkIsSimulator: False
[15:03:26] :													 [ValidateAppBundleTask]   TargetFrameworkIdentifier: Xamarin.iOS
[15:03:26] :											 [Source\Applications\iOS\AppName\AppName.csproj] _EmbedMobileProvision
[15:03:26] :												 [_EmbedMobileProvision] EmbedMobileProvision
[15:03:26] :													 [EmbedMobileProvision] EmbedMobileProvision Task
[15:03:26] :													 [EmbedMobileProvision]   AppBundleDir: bin/AppStore/AppName.app
[15:03:26] :													 [EmbedMobileProvision]   ProvisioningProfile: e8608d2a-ffa6-48ac-971f-e599d09b3fb0
[15:03:26] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CodesignNativeLibraries
[15:03:26] :												 [_CodesignNativeLibraries] CodesignNativeLibraries
[15:03:26] :													 [CodesignNativeLibraries] CodesignNativeLibraries Task
[15:03:26] :													 [CodesignNativeLibraries]   AppBundleDir: bin/AppStore/AppName.app
[15:03:26] :													 [CodesignNativeLibraries]   CodesignAllocate: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[15:03:26] :													 [CodesignNativeLibraries]   DisableTimestamp: False
[15:03:26] :													 [CodesignNativeLibraries]   IntermediateOutputPath: obj/AppStore/codesign
[15:03:26] :													 [CodesignNativeLibraries]   Keychain: <null>
[15:03:26] :													 [CodesignNativeLibraries]   SigningKey: {SNIP}
[15:03:26] :													 [CodesignNativeLibraries]   ExtraArgs: <null>
[15:03:26] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CodesignAppBundle (3s)
[15:03:26] :												 [_CodesignAppBundle] Codesign (3s)
[15:03:30] :													 [Codesign] Codesign Task
[15:03:30] :													 [Codesign]   CodesignAllocate: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[15:03:30] :													 [Codesign]   DisableTimestamp: False
[15:03:30] :													 [Codesign]   Entitlements: obj/AppStore/Entitlements.xcent
[15:03:30] :													 [Codesign]   Keychain: <null>
[15:03:30] :													 [Codesign]   Resources:
[15:03:30] :													 [Codesign]     bin/AppStore/AppName.app
[15:03:30] :													 [Codesign]   ResourceRules: <null>
[15:03:30] :													 [Codesign]   SigningKey: {SNIP}
[15:03:30] :													 [Codesign]   ExtraArgs: <null>
[15:03:30] :													 [Codesign]   IsAppExtension: False
[15:03:30] :													 [Codesign] Tool /usr/bin/codesign execution started with arguments: -v --force --sign {SNIP} --entitlements /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/Entitlements.xcent /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app
[15:03:30] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CodesignVerify (1s)
[15:03:30] :												 [_CodesignVerify] CodesignVerify (1s)
[15:03:31] :													 [CodesignVerify] CodesignVerify Task
[15:03:31] :													 [CodesignVerify]   CodesignAllocate: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[15:03:31] :													 [CodesignVerify]   Resource: bin/AppStore/AppName.app
[15:03:31] :													 [CodesignVerify] Tool /usr/bin/codesign execution started with arguments: --verify -vvvv -R='anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and (certificate leaf[field.1.2.840.113635.100.6.1.2] exists or certificate leaf[field.1.2.840.113635.100.6.1.4] exists)' bin/AppStore/AppName.app 
[15:03:31] :													 [CodesignVerify] bin/AppStore/AppName.app: valid on disk
[15:03:31] :													 [CodesignVerify] bin/AppStore/AppName.app: satisfies its Designated Requirement
[15:03:31] :													 [CodesignVerify] bin/AppStore/AppName.app: explicit requirement satisfied
[15:03:31] :											 [Source\Applications\iOS\AppName\AppName.csproj] _CoreCreateIpa (1s)
[15:03:31] :												 [_CoreCreateIpa] RemoveDir
[15:03:31] :													 [RemoveDir] Directory "obj\AppStore\ipa" doesn't exist. Skipping.
[15:03:31] :												 [_CoreCreateIpa] MakeDir
[15:03:31] :													 [MakeDir] Creating directory "obj\AppStore\ipa\Payload".
[15:03:31] :													 [MakeDir] Created directory "obj/AppStore/ipa/Payload"
[15:03:31] :												 [_CoreCreateIpa] Ditto (1s)
[15:03:32] :													 [Ditto] Ditto Task
[15:03:32] :													 [Ditto]   Source: bin/AppStore/AppName.app
[15:03:32] :													 [Ditto]   Destination: obj/AppStore/ipa/Payload/AppName.app/
[15:03:32] :													 [Ditto] Tool /usr/bin/ditto execution started with arguments: -rsrc bin/AppStore/AppName.app obj/AppStore/ipa/Payload/AppName.app/ 
[15:03:32] :												 [_CoreCreateIpa] CollectITunesSourceFiles
[15:03:32] :													 [CollectITunesSourceFiles] CollectITunesSourceFiles Task
[15:03:32] :													 [CollectITunesSourceFiles]   OutputPath: bin/AppStore/
[15:03:32] :													 [CollectITunesSourceFiles]   ITunesSourceFiles:
[15:03:32] :													 [CollectITunesSourceFiles]     bin/AppStore/iTunesMetadata.plist
[15:03:32] :												 [_CoreCreateIpa] Copy
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :													 [Copy] Copying file from '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/iTunesMetadata.plist' to '/Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/obj/AppStore/ipa/iTunesMetadata.plist'
[15:03:32] :											 [Source\Applications\iOS\AppName\AppName.csproj] _PackageOnDemandResources
[15:03:32] :												 [_PackageOnDemandResources] RemoveDir
[15:03:32] :													 [RemoveDir] Directory "obj\AppStore\ipa\Payload\OnDemandResources\" doesn't exist. Skipping.
[15:03:32] :											 [Source\Applications\iOS\AppName\AppName.csproj] _ZipIpa (4s)
[15:03:33] :												 [_ZipIpa] Zip (4s)
[15:03:37] :													 [Zip] Zip Task
[15:03:37] :													 [Zip]   OutputFile: bin/AppStore//AppName.ipa
[15:03:37] :													 [Zip]   Recursive: True
[15:03:37] :													 [Zip]   Sources:
[15:03:37] :													 [Zip]     obj/AppStore/ipa/Payload
[15:03:37] :													 [Zip]   Symlinks: True
[15:03:37] :													 [Zip]   WorkingDirectory: obj/AppStore/ipa
[15:03:37] :													 [Zip] Tool /usr/bin/zip execution started with arguments: -r -y /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore//AppName.ipa Payload 

{SNIP}

[15:03:44] :											 [Source\Applications\iOS\AppName\AppName.csproj] CopyDSYMFromMac (9s)
[15:03:44] :												 [CopyDSYMFromMac] Zip (4s)
[15:03:48] :													 [Zip] Zip Task
[15:03:48] :													 [Zip]   OutputFile: bin/AppStore/AppName.app.dSYM.zip
[15:03:48] :													 [Zip]   Recursive: True
[15:03:48] :													 [Zip]   Sources:
[15:03:48] :													 [Zip]     bin/AppStore/AppName.app.dSYM
[15:03:48] :													 [Zip]   Symlinks: True
[15:03:48] :													 [Zip]   WorkingDirectory: obj/AppStore/ipa
[15:03:48] :													 [Zip] Tool /usr/bin/zip execution started with arguments: -r -y /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app.dSYM.zip ../../../bin/AppStore/AppName.app.dSYM 
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Info.plist (deflated 52%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/DWARF/AppName (deflated 78%)
[15:03:51] :												 [CopyDSYMFromMac] LocalUnzip (2s)
[15:03:51] :													 [LocalUnzip] LocalUnzip Task
[15:03:51] :													 [LocalUnzip]   ZipFilePath: bin\AppStore\AppName.app.dSYM.zip
[15:03:51] :													 [LocalUnzip]   ExtractionPath: bin\AppStore\AppName.app.dSYM
[15:03:51] :													 [LocalUnzip] Unzipping bin\AppStore\AppName.app.dSYM.zip...
[15:03:53] :													 [LocalUnzip] Successfully unzipped the file bin\AppStore\AppName.app.dSYM.zip
[15:03:53] :												 [CopyDSYMFromMac] Delete
[15:03:53] :													 [Delete] Deleting file "bin\AppStore\AppName.app.dSYM.zip".
[15:03:53] :											 [Source\Applications\iOS\AppName\AppName.csproj] _SayGoodbye (1s)
[15:03:53] :												 [_SayGoodbye] SayGoodbye (1s)
[15:03:53] :													 [SayGoodbye] Computing signature for bin\AppStore\AppName.app

{SNIP}

[15:03:44] :											 [Source\Applications\iOS\AppName\AppName.csproj] CopyDSYMFromMac (9s)
[15:03:44] :												 [CopyDSYMFromMac] Zip (4s)
[15:03:48] :													 [Zip] Zip Task
[15:03:48] :													 [Zip]   OutputFile: bin/AppStore/AppName.app.dSYM.zip
[15:03:48] :													 [Zip]   Recursive: True
[15:03:48] :													 [Zip]   Sources:
[15:03:48] :													 [Zip]     bin/AppStore/AppName.app.dSYM
[15:03:48] :													 [Zip]   Symlinks: True
[15:03:48] :													 [Zip]   WorkingDirectory: obj/AppStore/ipa
[15:03:48] :													 [Zip] Tool /usr/bin/zip execution started with arguments: -r -y /Users/teamcity/Library/Caches/Xamarin/mtbs/builds/AppName/eb778e30a80662a3fd05d0855a9574ed/bin/AppStore/AppName.app.dSYM.zip ../../../bin/AppStore/AppName.app.dSYM 
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Info.plist (deflated 52%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
[15:03:48] :													 [Zip]   adding: ../../../bin/AppStore/AppName.app.dSYM/Contents/Resources/DWARF/AppName (deflated 78%)
[15:03:51] :												 [CopyDSYMFromMac] LocalUnzip (2s)
[15:03:51] :													 [LocalUnzip] LocalUnzip Task
[15:03:51] :													 [LocalUnzip]   ZipFilePath: bin\AppStore\AppName.app.dSYM.zip
[15:03:51] :													 [LocalUnzip]   ExtractionPath: bin\AppStore\AppName.app.dSYM
[15:03:51] :													 [LocalUnzip] Unzipping bin\AppStore\AppName.app.dSYM.zip...
[15:03:53] :													 [LocalUnzip] Successfully unzipped the file bin\AppStore\AppName.app.dSYM.zip
[15:03:53] :												 [CopyDSYMFromMac] Delete
[15:03:53] :													 [Delete] Deleting file "bin\AppStore\AppName.app.dSYM.zip".
[15:03:53] :											 [Source\Applications\iOS\AppName\AppName.csproj] _SayGoodbye (1s)
[15:03:53] :												 [_SayGoodbye] SayGoodbye (1s)
[15:03:53] :													 [SayGoodbye] Computing signature for bin\AppStore\AppName.app

--- MAC BUILD HOST VERSIONS ---

=== Xamarin Studio Professional ===

Version 6.3 (build 863)
Installation UUID: 63ecfc74-9a9e-4a56-ba0f-f22c3a4766c9
Runtime:
	Mono 4.8.0 (mono-4.8.0-branch/9d74414) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 408000524

=== NuGet ===

Version: 3.5.0.0

=== Xamarin.Profiler ===

'/Applications/Xamarin Profiler.app' not found

=== Xamarin Inspector ===

Not Installed

=== Xamarin.Android ===

Not Installed

=== Apple Developer Tools ===

Xcode 8.3 (12169)
Build 8E162

=== Xamarin.iOS ===

Version: 10.8.0.175 (Visual Studio Professional)
Hash: a04678c2
Branch: d15-1
Build date: 2017-03-28 14:05:38-0400

=== Xamarin.Mac ===

Version: 3.2.0.175 (Visual Studio Professional)

=== Build Information ===

Release ID: 603000863
Git revision: a2163670efe259c85cd8f335d95b175068fbbe2a
Build date: 2017-04-03 14:33:15-04
Xamarin addins: 2045d688ea1420e0381b473360ca62a763eb7d04
Build lane: monodevelop-lion-d15-1

=== Operating System ===

Mac OS X 10.12.4
Darwin Sheogorath.local 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

--- VS VERSIONS ---

Microsoft Visual Studio Professional 2017
Version 15.1 (26403.3) Release
VisualStudio.15.Release/15.1.0+26403.3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Professional

Visual Basic 2017   00369-60000-00001-AA172
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA172
Microsoft Visual C# 2017

Visual F# 4.1   00369-60000-00001-AA172
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.6.00209.10
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30320.0
ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017   5.2.50303.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JetBrains ReSharper Ultimate 2017.1 EAP 5   Build 108.0.20170316.160944-eap05
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Hive Query Language Service   2.2.5000.0
Language service for Hive query

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

Typemock.VSExtension   1.0
Information about my package

TypeScript   2.1.5.0
TypeScript tools for Visual Studio

WiX Toolset Visual Studio Extension   0.9.10.21458
WiX Toolset Visual Studio Extension version 0.9.10.21458
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin   4.4.0.34 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.2.0.7 (b16fb82)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.8.0.174 (7656cc6)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 1 Jahmai 2017-04-11 03:39:14 UTC
Accidentally pasted the same output twice for the copy dsym step.
Comment 2 Timothy Risi 2017-04-11 05:18:01 UTC
Does the build error happen if you build directly on the mac as well, or only when building from windows?
Comment 3 Jahmai 2017-04-11 05:27:58 UTC
Only Windows.
Comment 4 Timothy Risi 2017-04-11 05:35:32 UTC
Reassigning to the Visual Studio Extensions component
Comment 5 Mathieu C 2017-04-11 20:20:46 UTC
Encountering this issue on two different PCs compiling with two different Macs. Even though it is considered an error, it does not cause the build to fail. The file "Info.plist" mentioned in the error message does exist at the location mentioned.

--- Log ---

C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(956,3): error MSB3375: The file "bin\iPhone\Release\FipMobileiOS.app.dSYM\Contents\Info.plist" does not exist.

--- About Microsoft Visual Studio ---

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA954
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA954
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA954
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA954
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA954
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1   14.1.21111.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.9.6   14.0.21111.0
Azure App Service Tools v2.9.6

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.2100.0
Microsoft Azure Data Lake Tools for Visual Studio

Clang with Microsoft CodeGen   14.0.25516
Clang with Microsoft CodeGen

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JetBrains ReSharper Ultimate 2016.3.2    Build 107.0.20170126.120331
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft .NET Core Tools (Preview 2)   14.1.21111.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Hive Query Language Service   2.2.2100.0
Language service for Hive query

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.41104.6

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NCrunch   
Continuous Testing Tool for .NET
Copyright © 2010-2016 Remco Software Ltd

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.61021.0
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova

Xamarin   4.4.0.34 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.7 (b16fb82)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.174 (7656cc6)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 6 Mikael Stalvik 2017-04-12 09:51:55 UTC
I'm also facing the same issue with my setup:

1) Team City running on a Windows machine
2) Build mac running on same network

No matter which of my configurations I execute, I will always see this error.
This prevents my scripts after the build step (uploading to Hockey etc) to run since it is treated as an error.

The issue appeared after the most recent Xamarin updates.

Please fix this asap!
Comment 7 Jose Gallardo 2017-04-12 19:29:12 UTC
Thanks for all the provided info.
This was indeed an issue on the Touch task and it's now fixed on XVS 4.5

Details:

Fixed in version 4.5.0.364 (d15-2)

Author: Emanuel
Commit: 4b74d4babc3c034df24fda87551bb037efc67187 (xamarin/XamarinVS)
Comment 8 Jose Gallardo 2017-04-12 19:29:37 UTC
*** Bug 53183 has been marked as a duplicate of this bug. ***
Comment 9 Jahmai 2017-04-12 23:57:45 UTC
@Jose is there a local change I can make by hand to work around the issue locally until 15.2 is released?
Comment 10 Magnus Johansson 2017-04-18 20:28:27 UTC
Is there a workaround one can do/apply?
I have the exact same problem, and I'm stuck, can't publish... frustrating.
Comment 11 Jahmai 2017-04-19 09:08:02 UTC
I don't know if this is the actual solution, but I had a guess and it does seem to work around the issue for now.

On the build machine I edited C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets and modified the Touch task in the _GenerateDebugSymbols target to be like this (original left in commented out for reference):

<!-- touch the dSYM Info.plist so that its mtime is newer than the stripped $(_NativeExecutable) -->

<!-- Original
<Touch
	SessionId="$(BuildSessionId)"
	Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchDebug)' == 'false' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false'"
	Files="$(AppBundleDir).dSYM\Contents\Info.plist"
>
</Touch>
-->

<!-- New -->
<Touch
	SessionId="$(BuildSessionId)"
	Condition="'$(IsMacEnabled)' == 'true' And '$(MtouchDebug)' == 'false' And '$(MtouchNoSymbolStrip)' == 'false' And '$(IsAppExtension)' == 'false' And Exists ('$(AppBundleDir).dSYM\Contents\Info.plist')"
	Files="$(AppBundleDir).dSYM\Contents\Info.plist"
>
</Touch>
Comment 12 George Ceaser 2017-04-28 14:47:17 UTC
Any idea when this fix will be release?  It is holding up my production release to the App Store.
Comment 13 Jason Brown 2017-05-05 07:23:29 UTC
Jahmai change fixed the problem for me. On VS2015, the file and line that you need to change is in a different place, but the error message tells you where it is:-

5>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(956,3): error MSB3375:

...so I just edited C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets, at line 956, adding in the check for 'Exists' and everything was Unicorns and Rainbows!
Comment 14 Pino De Francesco 2017-05-09 15:41:25 UTC
Did not solve the issue for me on multiple PC, both 2015 and 2017. The fix doesn't install as it says that it's already on the system.
Comment 15 Ben Beckley 2017-05-09 20:56:19 UTC
This fix is currently available in the alpha/beta channels.
It is not yet available in the stable release.

Therefore I am leaving this in a resolved fixed state for now. If anyone encounters this in version 4.5.0.364 or greater, please change the bug status to Reopened and leave a comment with the XVS version you are using.
Comment 16 Ben Beckley 2017-05-09 21:09:28 UTC
*** Bug 56148 has been marked as a duplicate of this bug. ***
Comment 17 Michael Warnes 2017-05-10 08:44:59 UTC
I am still getting this error, where is the version number you are referring to Ben?

I applied the fix described by Jason and that fixed it
Comment 18 Jahmai 2017-05-13 12:07:27 UTC
This is still not fixed in 15.2, but my workaround still works.
Comment 19 Samiya A 2017-11-15 00:38:56 UTC
Is there a fix for this yet? Still getting this error in VSMac 7.2.2