Bug 4928 - MonoMac installer generation doesn't work
Summary: MonoMac installer generation doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-05-07 13:08 UTC by Lluis Sanchez
Modified: 2012-05-07 13:23 UTC (History)
1 user (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 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:
RESOLVED FIXED

Description Lluis Sanchez 2012-05-07 13:08:05 UTC
Create a MonoMac project, open the project options and enable "Create installer package". When building the project I get a build failed error caused by an NRE:


ERROR [2012-05-07 19:05:35Z]: System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MonoMac.MonoMacBuildExtension.EmbedProvisioningProfile (IProgressMonitor monitor, MonoDevelop.MonoMac.MonoMacProjectConfiguration conf, MonoDevelop.MonoMac.MobileProvision profile) [0x00011] in /Users/lluis/prog/work/md-addins/MonoDevelop.MonoMac/MonoDevelop.MonoMac/Project/MonoMacBuildExtension.cs:1010 
  at MonoDevelop.MonoMac.MonoMacBuildExtension.ProcessPackaging (IProgressMonitor monitor, MonoDevelop.MonoMac.MonoMacProject proj, MonoDevelop.Projects.ConfigurationSelector sel, MonoDevelop.MonoMac.MonoMacProjectConfiguration conf, MacOSXSdkVersion sdkVersion, MonoDevelop.MonoMac.MacAppIdentity identity) [0x00078] in /Users/lluis/prog/work/md-addins/MonoDevelop.MonoMac/MonoDevelop.MonoMac/Project/MonoMacBuildExtension.cs:788 
  at MonoDevelop.MonoMac.MonoMacBuildExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x003b8] in /Users/lluis/prog/work/md-addins/MonoDevelop.MonoMac/MonoDevelop.MonoMac/Project/MonoMacBuildExtension.cs:163 
  at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x0000b] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161 
  at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x0000b] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153 
  at MonoDevelop.MonoDroid.MonoDroidBuildExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x0000b] in /Users/lluis/prog/work/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidBuildExtension.cs:53 
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00010] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:113 
  at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x00000] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:161 
  at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) [0x0000b] in /Users/lluis/prog/work/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectServiceExtension.cs:153 

...
Comment 1 Jeffrey Stedfast 2012-05-07 13:23:37 UTC
Awesome catch, thanks!

fixed in git master and 3.0-series