<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Gregor,<div><br></div><div>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.</div><div><br></div><div>Scott</div><div><br><div><div>On Aug 2, 2011, at 4:55 PM, Gregor Hageluken wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Scott,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>However, I tried if the EnzymeX app still works on Lion because I think it also uses BCSequenceView. And that works without any problems.</div>
<div><br>
</div>
<div>Here is the error when I try to compile the Peptides.app:</div>
<div><br>
</div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
Copyright 2004 Free Software Foundation, Inc.</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
GDB is free software, covered by the GNU General Public License, and you are</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
welcome to change it and/or distribute copies of it under certain conditions.</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
Type "show copying" to see the conditions.</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
There is absolutely no warranty for GDB. Type "show warranty" for details.</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
warning: Unable to read symbols for @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa (file not found).</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
warning: Unable to read symbols from "BioCocoa" (not yet mapped into memory).</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
[Switching to process 40114 thread 0x0]</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<b>dyld: Library not loaded: @executable_path/../Frameworks/BioCocoa.framework/Versions/A/BioCocoa</b></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<b> Referenced from: /Users/gha/Library/Developer/Xcode/DerivedData/BioCocoaDemos-edqepdxbqxxpskctncdqmziaeyjr/Build/Products/Debug/Peptides.app/Contents/MacOS/Peptides</b></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<b> Reason: image not found</b></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
sharedlibrary apply-load-rules all</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(101, 139, 247); ">
<b>(gdb) </b></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(101, 139, 247); ">
<b><br>
</b></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<font class="Apple-style-span" face="Cambria" size="3">Cheers,</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<font class="Apple-style-span" face="Cambria" size="3">Gregor</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">
<font class="Apple-style-span" face="Cambria" size="3"><br>
</font></div>
<div>
<div>On 2 Aug 2011, at 00:57, Scott Christley wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Nope, I highly doubt it as that is a simple casting warning about a protocol and shouldn't affect runtime behavior.
<div><br>
</div>
<div>Scott</div>
<div><br>
<div>
<div>On Aug 1, 2011, at 5:50 PM, Gregor Hageluken wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Hi Scott,</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<span><Proteins2 - BCSequenceView.m.jpg></span><br>
<br>
<div>it appears at several places in the BCSequenceView class.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Gregor</div>
<div><br>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>-----</div>
<div>Gregor Hagelueken</div>
<div>Postdoctoral Research Fellow, Naismith Group</div>
<div>Biomedical Sciences Research Complex</div>
<div>University of St Andrews</div>
<div>Purdie Building, North Haugh, St Andrews, Fife, KY16 9ST</div>
<div>Email:<span class="Apple-tab-span" style="white-space: pre; "> </span><a href="mailto:gh50@st-andrews.ac.uk">gh50@st-andrews.ac.uk</a></div>
</div>
<div>Tel:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">
</span>+44 1334 467247</div>
<div>-----</div>
</div>
</span></div>
</span></div>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Cambria; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>-----</div>
<div>Gregor Hagelueken</div>
<div>Postdoctoral Research Fellow, Naismith Group</div>
<div>Biomedical Sciences Research Complex</div>
<div>University of St Andrews</div>
<div>Purdie Building, North Haugh, St Andrews, Fife, KY16 9ST</div>
<div>Email:<span class="Apple-tab-span" style="white-space: pre; "> </span><a href="mailto:gh50@st-andrews.ac.uk">gh50@st-andrews.ac.uk</a></div>
</div>
<div>Tel:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">
</span>+44 1334 467247</div>
<div>-----</div>
</div>
</span></div>
</span></div>
</span></span></div>
<br>
</div>
</div>
</blockquote></div><br></div></body></html>