Bug 44033 - Error executing task Codesign: Required property 'SigningKey' not set.
Summary: Error executing task Codesign: Required property 'SigningKey' not set.
Status: RESOLVED DUPLICATE of bug 44357
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 9.99 (iOS 10 previews)
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: 10.0.1 (C8SR0)
Assignee: Bugzilla
Depends on:
Reported: 2016-09-06 19:04 UTC by Pierce Boggan [MSFT]
Modified: 2016-09-15 18:16 UTC (History)
5 users (show)

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

Logs (442.34 KB, application/zip)
2016-09-06 19:05 UTC, Pierce Boggan [MSFT]
ACTUAL logs (1.78 MB, application/zip)
2016-09-06 19:06 UTC, Pierce Boggan [MSFT]
project (53.86 KB, application/zip)
2016-09-06 19:07 UTC, Pierce Boggan [MSFT]

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 or GitHub 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:

Description Pierce Boggan [MSFT] 2016-09-06 19:04:59 UTC
# Steps to reproduce
1. Download sample project.
2. Attempt to build.

# Expected behavior
1. Project builds successfully.

# Actual behavior
Error Executing Task Codesign: Required property 'SigningKey' not set.

Note that this is completely random at this time. Failing around 25% of the time.

# Supplemental info (logs, images, videos)

Logs and sample project attached.

# Test environment (full version information)
=== Xamarin Studio Business ===

Version 6.1 (build 5383)
Installation UUID: 8c693a86-8255-42e4-b7da-04319b8016af
	Mono 4.6.0 (mono-4.6.0-branch/3ed2bba) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406000182

=== NuGet ===


=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.iOS ===

Version: (Xamarin Business)
Hash: 974ea0b
Branch: cycle8
Build date: 2016-08-30 18:12:06-0400

=== Xamarin.Android ===

Version: (Xamarin Business)
Android SDK: /Users/pierce/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3  (API level 15)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		6.0    (API level 23)

SDK Tools Version: 25.1.7
SDK Platform Tools Version: 24.0.1
SDK Build Tools Version: 23.0.3

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Version: (Xamarin Business)

=== Build Information ===

Release ID: 601005383
Git revision: 37159a7d0c1ed6c9f661210879e9e233ca92e65d
Build date: 2016-08-30 22:07:20-04
Xamarin addins: 00a35f60101b50c8fa28b2b8c0e5b8ade85f7083
Build lane: monodevelop-lion-cycle8

=== Operating System ===

Mac OS X 10.11.6
Darwin Pierces-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0
    Thu Jun 23 18:25:34 PDT 2016
    root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
Comment 1 Pierce Boggan [MSFT] 2016-09-06 19:05:42 UTC
Created attachment 17349 [details]
Comment 2 Pierce Boggan [MSFT] 2016-09-06 19:06:04 UTC
Created attachment 17350 [details]
Comment 3 Pierce Boggan [MSFT] 2016-09-06 19:07:01 UTC
Created attachment 17351 [details]
Comment 4 Jeffrey Stedfast 2016-09-08 17:13:04 UTC
You need to have a valid signing certificate for Simulator builds now since the Simulator requires that dylibs and frameworks are codesigned.

PR https://github.com/xamarin/xamarin-macios/pull/809
Comment 5 Jeffrey Stedfast 2016-09-12 21:57:30 UTC
The above PR was applied to C8 but we're looking into a way of avoiding the need for a codesign key in some simple cases where the user does not have custom Frameworks and/or dylibs (and where we'd auto-disable incremental builds + warn)
Comment 6 Jeffrey Stedfast 2016-09-14 17:03:46 UTC
PR https://github.com/xamarin/xamarin-macios/pull/833
Comment 7 Jeffrey Stedfast 2016-09-14 17:05:24 UTC
Actually, I'm just going to close this bug since technically it is fixed and there's an email thread about making msbuild not require certificates for Simulator builds that PR 833 is really meant to fix.
Comment 8 Luis Aguilera 2016-09-15 18:16:58 UTC
got it @jeff... will make 44033 a dup of 44357. We'll test this fix with 44357.

*** This bug has been marked as a duplicate of bug 44357 ***