Bug 12661 - NeedBuild might be improved recognizing .app
Summary: NeedBuild might be improved recognizing .app
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Chris Hamons
URL:
Depends on:
Blocks:
 
Reported: 2013-06-12 16:36 UTC by Jérémie Laval
Modified: 2015-04-08 18:25 UTC (History)
3 users (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 Jérémie Laval 2013-06-12 16:36:49 UTC
If you have the following series of event:

mdtool build
rm -Rf bin/Debug/TheApp.app
mdtool build

The second `mdtool build` mistakenly thinks the outputs are up to date and doesn't copy Resources and MonoBundle stuff back into the .app it creates (it only put the monostub.m launcher).

Compile log of one of those case:

MonoDevelop Build Tool
Loading solution: /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/macdoc.sln
   Loading solution: /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/macdoc.sln
      Loading projects ..
Building Solution: macdoc (Debug)
   Building: macdoc (Debug)
      Performing main compilation...
      /Library/Frameworks/Mono.framework/Versions/2.10.12/bin/dmcs /noconfig "/out:/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.exe" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/System.Xml.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/System.Core.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/System.Xml.Linq.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/System.Drawing.dll" "/r:/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/src/MonoMac.dll" "/r:/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/lib/monodoc.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/Mono.Posix.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.xib.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/Main.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppDelegate.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MainMenu.xib.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/DocTools.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/history.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MonodocDocumentController.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/IndexUpdateManager.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkPopover.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkPopoverController.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkPopover.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkManager.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkAssistant.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkAssistantController.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkAssistant.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/IndexSearcher.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MonodocDataSources.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/RootLauncher.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/WebViewExtraordinaire.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/WebViewExtraordinaire.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/FindBarExtraordinaire.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/FindBarExtraordinaireController.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/FindBarExtraordinaire.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppleDocHandler.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/ProcessUtils.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppleDocMergeWindow.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppleDocMergeWindowController.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppleDocMergeWindow.designer.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/Logger.cs" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/Product.cs" 
      Compiling interface definitions
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/MyDocument.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.xib"
         /* com.apple.ibtool.document.warnings */
         /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.xib:182: warning: Multiple objects using identifier "spinnerView" (Identifiers must be unique) [9]
         /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.xib:258: warning: Multiple objects using identifier "spinnerView" (Identifiers must be unique) [9]
         /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MyDocument.xib:244: warning: Rounded Textured Segmented Control style on OS X versions 10.7 and later [7]
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/MainMenu.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/MainMenu.xib"
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/BookmarkPopover.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkPopover.xib"
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/BookmarkAssistant.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/BookmarkAssistant.xib"
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/FindBarExtraordinaire.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/FindBarExtraordinaire.xib"
         /* com.apple.ibtool.document.notices */
         /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/FindBarExtraordinaire.xib:32: note: View is clipping its content [13]
         /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/AppleDocMergeWindow.nib" "/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/AppleDocMergeWindow.xib"
      Copying content files
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.exe' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/macdoc.exe'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.exe.mdb' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/macdoc.exe.mdb'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/src/MonoMac.dll' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/MonoMac.dll'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/src/MonoMac.dll.mdb' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/MonoMac.dll.mdb'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/lib/monodoc.dll' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/monodoc.dll'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/lib/monodoc.dll.config' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/monodoc.dll.config'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/lib/monodoc.dll.mdb' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/MonoBundle/monodoc.dll.mdb'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/monodoc.icns' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/monodoc.icns'
         Copying '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/Credits.rtf' to '/Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/bin/Debug/macdoc.app/Contents/Resources/Credits.rtf'
      Build complete -- 0 errors, 0 warnings
      Extracting embedded content
      Updating application manifest
warning: Could not determine value for manifest key 'DTPlatformBuild'
rm -Rf bin/Debug/macdoc.app
mono /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/build/bin/mdtool.exe setup reg-build && mono /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/build/bin/mdtool.exe build
MonoDevelop Add-in Setup Utility
MonoDevelop Build Tool
Loading solution: /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/macdoc.sln
   Loading solution: /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.9-branch/aa0f2c28/source/monodevelop/main/external/monomac/samples/macdoc/macdoc.sln
      Loading projects ..
Building Solution: macdoc (Debug)
   Building: macdoc (Debug)
      Performing main compilation...
      Skipping project since output files are up to date
      Build complete -- 0 errors, 0 warnings
      Updating application manifest
warning: The referenced library 'MonoMac.dll' is not used from any code, skipping extraction of content resources.
warning: The referenced library 'monodoc.dll' is not used from any code, skipping extraction of content resources.
warning: Could not determine value for manifest key 'DTPlatformBuild'
Comment 1 Chris Hamons 2015-04-08 18:25:01 UTC
This appears to be fixed in the latest version. Sorry for the very long delay in response.