Bug 46542 - Fails to sign App Bundle using Identity "Mac Distribution (Automatic)" and Profile "Automatic"
Summary: Fails to sign App Bundle using Identity "Mac Distribution (Automatic)" and Pr...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: MSBuild ()
Version: Master
Hardware: Macintosh Mac OS
: High critical
Target Milestone: (C9)
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2016-11-07 18:13 UTC by Manish Sinha
Modified: 2016-12-09 18:52 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: Yes
Last known good build: 3.0.0.139 (3775d4)

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:
Status:
VERIFIED FIXED

Description Manish Sinha 2016-11-07 18:13:13 UTC
Steps to reproduce

1. Create a Cocoa App or open any sample app
2. Project Options > Mac Signing
3. Check "Sign the application bundle", App bundle Identity as 'Mac Distribution (Automatic)' and Profile as 'Automatic'
4. Click OK
5. Build All
6. codesign -dvvv builtapp.app

Expected: The App is signed and the output contains "Authority=3rd Party Mac Developer Application"
Actual: "code object is not signed at all"

Good: macios-mac-master 3.0.0.139 (3775d4)
Bad: macios-mac-cycle9 3.0.0.275 (17ba91227c1c9201bd9323956cc5f24d1c99ced0)

=== Xamarin Studio Community ===

Version 6.2 (build 1359)
Installation UUID: 7c2f38ff-d195-484c-a397-3e6a0c62afa2
Runtime:
	Mono 4.8.0 (mono-4.8.0-branch/dea12ad) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 408000309

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 7.0.99.160 (Xamarin Studio Community)
Android SDK: /Users/manish/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

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:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin Inspector ===

Version: 0.99.0.0
Hash: 6e81cff
Branch: master
Build date: 11/4/2016 7:26:49 PM

=== Apple Developer Tools ===

Xcode 8.2 (11759)
Build 8C23

=== Xamarin.iOS ===

Version: 10.4.0.5 (Xamarin Studio Community)
Hash: 17ba912
Branch: master
Build date: 2016-11-06 21:17:40-0500

=== Xamarin.Mac ===

Version: 3.0.0.275 (Xamarin Studio Community)

=== Build Information ===

Release ID: 602001359
Git revision: 9176669613c1ea72e9153ae5f0614b891e02ef93
Build date: 2016-11-07 09:16:39-05
Xamarin addins: 2940c9b5bbbc9ae8e76cddbf035f6cd793535ea2
Build lane: monodevelop-lion-cycle9

=== Operating System ===

Mac OS X 10.12.0
Darwin cassini.guest.corp.microsoft.com 16.0.0 Darwin Kernel Version 16.0.0
    Mon Aug 29 17:56:20 PDT 2016
    root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Gist Ide Information 1.0.2
Xamarin Inspector 0.99.0.0