schristley at mac.com
Tue Aug 2 18:15:39 EDT 2011
Somebody mentioned this not too long ago on the mailing list, but I forgot what the solution was though, maybe they will chime in. I tend to always copy BioCocoa.framework into /Library/Frameworks, so you can see if that works, otherwise it is something like deleting and re-adding the framework into the xcode project or something like that.
On Aug 2, 2011, at 4:55 PM, Gregor Hageluken wrote:
> Hi Scott,
> I am trying to compile the Peptides app, but I am having problems with linking the framework to it. I always get the error below. Before that, I compiled the framework and added it to the Biococoa samples Xcode project via 'Link Binaries with library' and I also added a 'copy bundle resources' build phase. That is why I only added the BCSequenceView class to my app. I couldn't get the whole Framework linked to it.
> However, I tried if the EnzymeX app still works on Lion because I think it also uses BCSequenceView. And that works without any problems.
> Here is the error when I try to compile the Peptides.app:
> GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
> warning: Unable to read symbols for @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa (file not found).
> warning: Unable to read symbols from "BioCocoa" (not yet mapped into memory).
> [Switching to process 40114 thread 0x0]
> dyld: Library not loaded: @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa
> Referenced from: /Users/gha/Library/Developer/Xcode/DerivedData/BioCocoaDemos-edqepdxbqxxpskctncdqmziaeyjr/Build/Products/Debug/Peptides.app/Contents/MacOS/Peptides
> Reason: image not found
> sharedlibrary apply-load-rules all
> On 2 Aug 2011, at 00:57, Scott Christley wrote:
>> Nope, I highly doubt it as that is a simple casting warning about a protocol and shouldn't affect runtime behavior.
>> On Aug 1, 2011, at 5:50 PM, Gregor Hageluken wrote:
>>> Hi Scott,
>>> I will let you know if the peptides app works. In the meantime, could it have anything to do with this warning that I get:
>>> <Proteins2 - BCSequenceView.m.jpg>
>>> it appears at several places in the BCSequenceView class.
>>> Gregor Hagelueken
>>> Postdoctoral Research Fellow, Naismith Group
>>> Biomedical Sciences Research Complex
>>> University of St Andrews
>>> Purdie Building, North Haugh, St Andrews, Fife, KY16 9ST
>>> Email: gh50 at st-andrews.ac.uk
>>> +44 1334 467247
> Gregor Hagelueken
> Postdoctoral Research Fellow, Naismith Group
> Biomedical Sciences Research Complex
> University of St Andrews
> Purdie Building, North Haugh, St Andrews, Fife, KY16 9ST
> Email: gh50 at st-andrews.ac.uk
> +44 1334 467247
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Biococoa-dev