[Unison-hackers] Updated MAC frontend (based on trunk)

Benjamin Pierce bcpierce at cis.upenn.edu
Sat Dec 5 09:37:42 EST 2009


It seems that when I build from XCode everything works and I get a  
binary that I can run.  It's building with 'make' that doesn't work.

      - Benjamin


On Dec 5, 2009, at 3:21 AM, Markus Groß wrote:

>
> On 05.12.2009, at 03:52, Benjamin Pierce wrote:
>
>> Still no joy...
>
> That is weird. It seems like the Frameworks aren't copied to the  
> final application.
> Can you open the Xcode-project and check the Copy Files-Build-Phase  
> if the two
> Frameworks are copied to "Frameworks"?
> Also perhabs it would work if you just delete the Copy Files-Build- 
> Phase and recreate it (with the 2 Frameworks in it).
> Hopefully that fixes the problem...
>
>> PBXCp build/Default/Unison.app/Contents/Frameworks/Growl.framework
>> Frameworks/Growl.framework
>>    mkdir /Users/bcpierce/current/unison/trunk/src/uimacnew09/build/
>> Default/Unison.app/Contents/Frameworks
>>    cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-
>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/unison/
>> trunk/src/uimacnew09/Frameworks/Growl.framework /Users/bcpierce/
>> current/unison/trunk/src/uimacnew09/build/Default/Unison.app/ 
>> Contents/
>> Frameworks
>> strip: for architecture x86_64 object: /Users/bcpierce/current/ 
>> unison/
>> trunk/src/uimacnew09/Frameworks/Growl.framework/Growl malformed  
>> object
>> (unknown load command 5)
>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/trunk/
>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>> Growl.framework/Growl: No such file or directory
>>
>> PBXCp build/Default/Unison.app/Contents/Frameworks/
>> BWToolkitFramework.framework Frameworks/BWToolkitFramework.framework
>>    cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-
>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/unison/
>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework /Users/
>> bcpierce/current/unison/trunk/src/uimacnew09/build/Default/ 
>> Unison.app/
>> Contents/Frameworks
>> strip: for architecture x86_64 object: /Users/bcpierce/current/ 
>> unison/
>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework/
>> BWToolkitFramework malformed object (unknown load command 5)
>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/trunk/
>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>> BWToolkitFramework.framework/BWToolkitFramework: No such file or
>> directory
>> ** BUILD FAILED **
>>
>> The following build commands failed:
>> uimac:
>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/Growl.framework
>> Frameworks/Growl.framework
>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/
>> BWToolkitFramework.framework Frameworks/BWToolkitFramework.framework
>> (2 failures)
>>
>>
>>
>> On Dec 4, 2009, at 9:18 AM, Markus Groß wrote:
>>
>>>
>>> On 04.12.2009, at 14:38, Benjamin Pierce wrote:
>>>
>>>> Still not compiling.  Does this...
>>>>
>>>>> Recovery Suggestion: Locate the com.brandonwalkin.BWToolkit
>>>>> Interface Builder plug-in to continue opening this document.
>>>>> Consider using the --plugin option or Interface Builder's plug-in
>>>>> preferences to resolve this dependency.
>>>>
>>>>
>>>> ... mean that there's something else that needs to be installed?
>>>
>>> Yes. You need to download BWToolkit from:
>>> http://www.brandonwalkin.com/bwtoolkit/
>>>
>>> Extract the archive and double-click on the proper .ibplugin file
>>> (Leopard or Snow Leopard).
>>> Make sure the .ibplugin file is always at this location since
>>> Interface Builder will keep a reference to this file.
>>> Then it should work (hopefully).
>>>
>>> Cheers,
>>> Markus
>>>
>>>>
>>>>  - Benjamin
>>>>
>>>>
>>>> CompileXIB /Users/bcpierce/current/unison/trunk/src/uimacnew09/
>>>> English.lproj/MainMenu.xib
>>>>  cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>  /Developer/usr/bin/ibtool --errors --warnings --notices --output-
>>>> format human-readable-text --compile /Users/bcpierce/current/ 
>>>> unison/
>>>> trunk/src/uimacnew09/build/Default/Unison.app/Contents/Resources/
>>>> English.lproj/MainMenu.nib /Users/bcpierce/current/unison/trunk/ 
>>>> src/
>>>> uimacnew09/English.lproj/MainMenu.xib
>>>> /* com.apple.ibtool.errors */
>>>> Internal Error:
>>>> Description: Unable to resolve plug-in dependency for  
>>>> "MainMenu.xib".
>>>> Recovery Suggestion: Locate the com.brandonwalkin.BWToolkit
>>>> Interface Builder plug-in to continue opening this document.  
>>>> Consider
>>>> using the --plugin option or Interface Builder's plug-in  
>>>> preferences
>>>> to resolve this dependency.
>>>>
>>>> PBXCp build/Default/Unison.app/Contents/Frameworks/Growl.framework
>>>> Frameworks/Growl.framework
>>>>  cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>  /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>>>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn - 
>>>> strip-
>>>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/unison/
>>>> trunk/src/uimacnew09/Frameworks/Growl.framework /Users/bcpierce/
>>>> current/unison/trunk/src/uimacnew09/build/Default/Unison.app/
>>>> Contents/
>>>> Frameworks
>>>> strip: for architecture x86_64 object: /Users/bcpierce/current/
>>>> unison/
>>>> trunk/src/uimacnew09/Frameworks/Growl.framework/Growl malformed
>>>> object
>>>> (unknown load command 5)
>>>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/ 
>>>> trunk/
>>>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>>>> Growl.framework/Growl: No such file or directory
>>>>
>>>> PBXCp build/Default/Unison.app/Contents/Frameworks/
>>>> BWToolkitFramework.framework Frameworks/ 
>>>> BWToolkitFramework.framework
>>>>  cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>  /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>>>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn - 
>>>> strip-
>>>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/unison/
>>>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework / 
>>>> Users/
>>>> bcpierce/current/unison/trunk/src/uimacnew09/build/Default/
>>>> Unison.app/
>>>> Contents/Frameworks
>>>> strip: for architecture x86_64 object: /Users/bcpierce/current/
>>>> unison/
>>>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework/
>>>> BWToolkitFramework malformed object (unknown load command 5)
>>>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/ 
>>>> trunk/
>>>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>>>> BWToolkitFramework.framework/BWToolkitFramework: No such file or
>>>> directory
>>>> ** BUILD FAILED **
>>>>
>>>> The following build commands failed:
>>>> uimac:
>>>> 	CompileXIB /Users/bcpierce/current/unison/trunk/src/uimacnew09/
>>>> English.lproj/MainMenu.xib
>>>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/Growl.framework
>>>> Frameworks/Growl.framework
>>>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/
>>>> BWToolkitFramework.framework Frameworks/ 
>>>> BWToolkitFramework.framework
>>>> (3 failures)
>>>>
>>>> make: *** [macexecutable] Error 1
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Dec 4, 2009, at 2:38 AM, Markus Groß wrote:
>>>>
>>>>>
>>>>> On 04.12.2009, at 02:24, Benjamin Pierce wrote:
>>>>>
>>>>>> OK, got it.  I've integrated, but I can't yet compile... failing
>>>>>> build
>>>>>> log attached...  I'll commit the current version now, so that we
>>>>>> can
>>>>>> stay in sync.
>>>>>>
>>>>>> Use "make UISTYLE=macnew09" to build the new version.
>>>>>
>>>>> I tried it on my machine and it works without problems.
>>>>> The CompileXIB command fails in your build. I think it fails  
>>>>> because
>>>>> I am using Xcode 3.2 and set the compatibility of the xib-File to
>>>>> Interface Builder 3.2. Perhabs you are using IB 3.1 (sorry about
>>>>> that).
>>>>> I changed the compatibility of the Xcode project and  
>>>>> MainMenu.xib to
>>>>> 3.1 now.
>>>>>
>>>>> The updated files can be found in this tar file:
>>>>> http://informatik.uni-bremen.de/~mgross/updatedfiles.tar.gz
>>>>>
>>>>> Or in my github repository:
>>>>> http://github.com/mgee/unison
>>>>>
>>>>> You do not need to replace the xcodeproj folder, as the  
>>>>> compatiblity
>>>>> of the Xcode-project is set to 2.4 in your version.
>>>>> The replacement of MainMenu.xib should be enough.
>>>>>
>>>>> I hope that the failing PBXCp commands are just a follow-up error.
>>>>>
>>>>> Cheers,
>>>>> Markus
>>>>>
>>>>>
>>>>>> CompileXIB /Users/bcpierce/current/unison/trunk/src/uimacnew09/
>>>>>> English.lproj/MainMenu.xib
>>>>>> cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>>> /Developer/usr/bin/ibtool --errors --warnings --notices --output-
>>>>>> format human-readable-text --compile /Users/bcpierce/current/
>>>>>> unison/
>>>>>> trunk/src/uimacnew09/build/Default/Unison.app/Contents/Resources/
>>>>>> English.lproj/MainMenu.nib /Users/bcpierce/current/unison/trunk/
>>>>>> src/
>>>>>> uimacnew09/English.lproj/MainMenu.xib
>>>>>> /* com.apple.ibtool.errors */
>>>>>> Internal Error:
>>>>>> 	Description: Could not read archive.
>>>>>> 	Recovery Suggestion: Please use a newer version of Interface
>>>>>> Builder.
>>>>>> 	Failure Reason: This version of Interface Builder is too old to
>>>>>> read
>>>>>> this archive.
>>>>>
>>>>>
>>>>>> PBXCp build/Default/Unison.app/Contents/Frameworks/ 
>>>>>> Growl.framework
>>>>>> Frameworks/Growl.framework
>>>>>> mkdir /Users/bcpierce/current/unison/trunk/src/uimacnew09/build/
>>>>>> Default/Unison.app/Contents/Frameworks
>>>>>> cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>>> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>>>>>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -
>>>>>> strip-
>>>>>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/ 
>>>>>> unison/
>>>>>> trunk/src/uimacnew09/Frameworks/Growl.framework /Users/bcpierce/
>>>>>> current/unison/trunk/src/uimacnew09/build/Default/Unison.app/
>>>>>> Contents/
>>>>>> Frameworks
>>>>>> strip: for architecture x86_64 object: /Users/bcpierce/current/
>>>>>> unison/
>>>>>> trunk/src/uimacnew09/Frameworks/Growl.framework/Growl malformed
>>>>>> object
>>>>>> (unknown load command 5)
>>>>>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/
>>>>>> trunk/
>>>>>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>>>>>> Growl.framework/Growl: No such file or directory
>>>>>
>>>>>> PBXCp build/Default/Unison.app/Contents/Frameworks/
>>>>>> BWToolkitFramework.framework Frameworks/
>>>>>> BWToolkitFramework.framework
>>>>>> cd /Users/bcpierce/current/unison/trunk/src/uimacnew09
>>>>>> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>>>>>> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -
>>>>>> strip-
>>>>>> debug-symbols -resolve-src-symlinks /Users/bcpierce/current/ 
>>>>>> unison/
>>>>>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework /
>>>>>> Users/
>>>>>> bcpierce/current/unison/trunk/src/uimacnew09/build/Default/
>>>>>> Unison.app/
>>>>>> Contents/Frameworks
>>>>>> strip: for architecture x86_64 object: /Users/bcpierce/current/
>>>>>> unison/
>>>>>> trunk/src/uimacnew09/Frameworks/BWToolkitFramework.framework/
>>>>>> BWToolkitFramework malformed object (unknown load command 5)
>>>>>> pbxcp: warning: couldn't strip: /Users/bcpierce/current/unison/
>>>>>> trunk/
>>>>>> src/uimacnew09/build/Default/Unison.app/Contents/Frameworks/
>>>>>> BWToolkitFramework.framework/BWToolkitFramework: No such file or
>>>>>> directory
>>>>>> ** BUILD FAILED **
>>>>>>
>>>>>> The following build commands failed:
>>>>>> uimac:
>>>>>> 	CompileXIB /Users/bcpierce/current/unison/trunk/src/uimacnew09/
>>>>>> English.lproj/MainMenu.xib
>>>>>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/ 
>>>>>> Growl.framework
>>>>>> Frameworks/Growl.framework
>>>>>> 	PBXCp build/Default/Unison.app/Contents/Frameworks/
>>>>>> BWToolkitFramework.framework Frameworks/
>>>>>> BWToolkitFramework.framework
>>>>>> (3 failures)
>>>>>>
>>>>>>
>>>>>> On Dec 3, 2009, at 10:49 AM, Markus Groß wrote:
>>>>>>
>>>>>>> The tarball can be downloaded here (it will be automatically
>>>>>>> generated):
>>>>>>> http://github.com/mgee/unison/tarball/master
>>>>>>>
>>>>>>> I wrote a few lines about credits:
>>>>>>>
>>>>>>> Credits:
>>>>>>> Unison Icon taken from Mac4Lin (LGPL)
>>>>>>> http://sourceforge.net/projects/mac4lin/
>>>>>>>
>>>>>>> Some icons are directly taken from Matt Ball's developer icons
>>>>>>> (Creative Commons Attribution 3.0)
>>>>>>> Some icons are based on Matt Ball's developer icons (Creative
>>>>>>> Commons Attribution 3.0)
>>>>>>> http://www.mattballdesign.com/blog/2009/11/23/developer-icons-are-back-online/
>>>>>>>
>>>>>>> GUI elements from BWToolkit (three-clause BSD license)
>>>>>>> http://www.brandonwalkin.com/bwtoolkit/
>>>>>>>
>>>>>>> You are very welcome to rephrase the lines so that they sound
>>>>>>> better.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Markus
>>>>>>>
>>>>>>> On 03.12.2009, at 15:36, Benjamin Pierce wrote:
>>>>>>>
>>>>>>>> P.S.  Can you also write some text to add to the README file
>>>>>>>> describing the authorship and copyright status of the bits  
>>>>>>>> you've
>>>>>>>> used?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Dec 3, 2009, at 2:07 AM, Markus Groß wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 03.12.2009, at 02:50, Benjamin Pierce wrote:
>>>>>>>>>
>>>>>>>>>>> On 30.11.2009, at 22:25, Benjamin Pierce wrote:
>>>>>>>>>>>> If your version is up to date with the trunk repository,  
>>>>>>>>>>>> then
>>>>>>>>>>>> there's
>>>>>>>>>>>> no merging to be done, right?  It's just a matter of making
>>>>>>>>>>>> sure
>>>>>>>>>>>> your
>>>>>>>>>>>> version is working as well or better than the current one  
>>>>>>>>>>>> and
>>>>>>>>>>>> then
>>>>>>>>>>>> overwriting...?
>>>>>>>>>>>>
>>>>>>>>>>>> Have you changed anything outside of the /uimacnew
>>>>>>>>>>>> subdirectory?
>>>>>>>>>>>
>>>>>>>>>>> My version is up to date (r389) so basically the changes  
>>>>>>>>>>> could
>>>>>>>>>>> be
>>>>>>>>>>> comitted without any conflict.
>>>>>>>>>>>
>>>>>>>>>>> I changed nothing outside the uimacnew directory and  
>>>>>>>>>>> tested my
>>>>>>>>>>> version using my own profiles.
>>>>>>>>>>> I didn't ran into any problems but that doesn't have to mean
>>>>>>>>>>> the
>>>>>>>>>>> changes I made are bug-free.
>>>>>>>>>>> The changes however are mostly related to gui code, so the
>>>>>>>>>>> synchronisation process/algorithm should work the same as
>>>>>>>>>>> before.
>>>>>>>>>>
>>>>>>>>>> It would be pretty easy to keep both the current uimacnew and
>>>>>>>>>> your
>>>>>>>>>> version in parallel (i.e., include yours as uimac09 or
>>>>>>>>>> something), so
>>>>>>>>>> that people can try yours without losing the ability to roll
>>>>>>>>>> back
>>>>>>>>>> to
>>>>>>>>>> the other if they prefer it.
>>>>>>>>>
>>>>>>>>> Sounds good :)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> - Markus
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Unison-hackers mailing list
>>>>>>>>> Unison-hackers at lists.seas.upenn.edu
>>>>>>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Unison-hackers mailing list
>>>>>>>> Unison-hackers at lists.seas.upenn.edu
>>>>>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Unison-hackers mailing list
>>>>>>> Unison-hackers at lists.seas.upenn.edu
>>>>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Unison-hackers mailing list
>>>>>> Unison-hackers at lists.seas.upenn.edu
>>>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>>>
>>>>> _______________________________________________
>>>>> Unison-hackers mailing list
>>>>> Unison-hackers at lists.seas.upenn.edu
>>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>>>
>>>>
>>>> _______________________________________________
>>>> Unison-hackers mailing list
>>>> Unison-hackers at lists.seas.upenn.edu
>>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>
>>> _______________________________________________
>>> Unison-hackers mailing list
>>> Unison-hackers at lists.seas.upenn.edu
>>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>>>
>>
>> _______________________________________________
>> Unison-hackers mailing list
>> Unison-hackers at lists.seas.upenn.edu
>> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>
> _______________________________________________
> Unison-hackers mailing list
> Unison-hackers at lists.seas.upenn.edu
> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
>



More information about the Unison-hackers mailing list