On Jul 24, 2007, at 10:38 PM, Adam R. Maxwell wrote: > > On Jul 24, 2007, at 19:16, James Howison wrote: > >> I'm trying to work out why my breakpoints aren't working. Do they >> not work in the Release Configuration? > > No (maybe you can get asm).
Not sure I understand that. My fault for asking negative questions. Working now in the debug though (see below). >> I also can't get the Debug Configuration to build. I wiped my >> Products folder, so I'm pretty sure I'm building using the new >> vendorsrc sub-folder and sub-projects. >> > > [harmless warnings snipped] > >> /usr/bin/ld: warning /Users/james/Documents/Development/Products/ >> Debug/yaz.framework/yaz cputype (7, architecture i386) does not match >> cputype (18) for specified -arch flag: ppc (file not loaded) >> /usr/bin/ld: warning /Users/james/Documents/Development/Products/ >> Debug/OmniAppKit.framework/OmniAppKit cputype (7, architecture i386) >> does not match cputype (18) for specified -arch flag: ppc (file not >> loaded) > > [...] >> >> >> <snip many similar lines, noting that they are all ppc and I have an >> Intel MacBook.> >> >> collect2: ld returned 1 exit status > > Looks like the frameworks are set to build ppc instead of $NATIVE_ARCH > (or whatever the variable is). In your case, make sure they build as > i386 by opening each framework, double-clicking the target, and > changing the setting. You should probably close all open projects > after doing this, because Xcode may not figure out that you changed > the frameworks. > > It's a waste of CPU time building a debug version for multiple > architectures, so we don't do that. Since those of us who debug > regularly have ppc machines, this hasn't been an issue! > > -- Ok, makes sense. Actually all the sub-frameworks were set to build $ (NATIVE_ARCH) but AGRegex, BibDeskImputManagner, and BibImporter were set to "ppc i386" so you might like to change that for you anyway. BT_Parse was only set to "ppc", so I fixed that. More importantly, the BibDesk target itself was set to only "ppc" for Debug. I set all the Debug build architectures to $(NATIVE_ARCH) and all the release to "ppc i386", although I'm not going to be rolling releases ;) Both configurations build now. Those settings should work for everyone, no? Is that something I can check into svn? Incidentally xcode seems to use both the cores simultaneously because it is always compiling two files at a time now. Much quicker ;) Now to track down why this doesn't work. --J ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
