Bug 59728 - Deploy stops with Error MSB6006: "codesign" exited with code 1. (MSB6006)
Summary: Deploy stops with Error MSB6006: "codesign" exited with code 1. (MSB6006)
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll (show other bugs)
Version: XI 11.4 (d15-5)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-09-25 17:32 UTC by ismail.akbulut
Modified: 2017-10-05 19:38 UTC (History)
3 users (show)

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

Error log (3.96 MB, text/rtf)
2017-09-25 19:06 UTC, ismail.akbulut

Description ismail.akbulut 2017-09-25 17:32:34 UTC
Hi I am using,

When I try to deploy in debug mode I am getting:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3): Error MSB6006: "codesign" exited with code 1. (MSB6006).

I just did a small code change before this worked. 

When I download provision profiles they also don't show up in Visual Studio.
Restart, clean did not resolve issue.

I am using:

=== Visual Studio Community 2017 for Mac ===

Version 7.1.5 (build 2)
Installation UUID: eb00ce35-9344-4da0-b497-20732dbf3e87
	Mono (d15-3/14f2c81) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000224

=== NuGet ===


=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

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

=== Xamarin.Android ===

Version: (Visual Studio Community)
Android SDK: /Users/ismailakbulut/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:

=== Apple Developer Tools ===

Xcode 9.0 (13247)
Build 9A235

=== Xamarin.Mac ===

Version: (Visual Studio Community)

=== Xamarin Inspector ===

Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1

=== Xamarin.iOS ===

Version: (Visual Studio Community)
Hash: 152b654a
Branch: xcode9
Build date: 2017-09-15 02:25:56-0400

=== Build Information ===

Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9

=== Operating System ===

Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Comment 1 John Miller [MSFT] 2017-09-25 18:51:23 UTC
Hi Ismail, 

Please include your full build logs. I believe it may include more information about what is happening.

To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build

Please attach this log as a .txt file (it's too long to paste into here).

Comment 2 ismail.akbulut 2017-09-25 19:06:12 UTC
Created attachment 24920 [details]
Error log
Comment 3 ismail.akbulut 2017-09-27 15:16:19 UTC
removed certificates from Mac and added back

Note You need to log in before you can comment on or make changes to this bug.