Bug 10541 - Sample Hello_mac giving build error in debug mode
Summary: Sample Hello_mac giving build error in debug mode
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Samples ()
Version: 1.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-02-21 12:08 UTC by Jatin
Modified: 2013-05-28 08:48 UTC (History)
4 users (show)

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

Comment 1 Atin 2013-02-22 03:42:43 UTC
An update to the above issue is:

We are getting same behavior for all mac samples except Animated clock, FSEvent, Markdown, NSAlert, ScreenKitViewer, UserNotificationExamaple and Villain Tracker.

This information can be usefull for this error:

There are two test cases:

1. for Debug mode the Code signing option should be unchecked and uneditable:

2. For Release mode the Code signing options should be checked and uneditable:
And when we run any application on release mode we get the same build error which we are getting today "Code signing keys not found" for which we have reported the issue bug 8865:
Which is marked as Resolved Feature.

The above issue was appearing only because the code signing option was checked so for release mode this is a feature.

But today for the sample applications this option is appearing as checked even in Debug mode, thats why this error is appearing.

And for the Xamarin.Mac template application this option is appearing as unchecked in debug mode,

Samples info:
Comment 2 Jatin 2013-02-22 05:21:19 UTC
An update to the above comment #1:

This is happening only after running the command "make qa-bundle" as when we run the above command then it generates the two directories "qa-bundle/MonoMac_From_xxxxxxxx" and "qa-bundle/Xamarin.Mac_from_xxxx" and after that when we open any sample application in MD/XS except the 7 which are mentioned in the comment #1 it gives the same build error, as for all those application the Code signing option is checked even in the debug mode, which should not be checked in debug mode.

And on the fresh environment when we Open the sample application without running that command then it works fine, the way it was working yesterday.
Comment 3 Aaron Bockover [MSFT] 2013-02-25 13:20:11 UTC
The script in "make qa-bundle" enables code signing on all targets (Debug, Release) to ensure code signing gets tested. It is expected that builds fail during signing if there are no developer keys available to sign.

QA should have developer keys installed on test machines.

This is not a bug.
Comment 4 PJ 2013-02-26 09:15:16 UTC
Aha, so the issue is that Craig Dunn's info is saved as the code signing info:


line 32/33, 52,53
Comment 5 Mohit Kheterpal 2013-05-28 08:48:18 UTC
Today, We have checked this issue with following builds:
All mac
XS 4.0.8(build 2)stable
Xam.mac 1.4.0
Mono 2.10.12

Now application builds and runs successfully.
Hence closing this issue