[Sparkle] Status 5

Todd Blanchard tblanchard at mac.com
Sun Mar 9 12:52:58 PDT 2008


There are 3 steps for adding the pre-compiled framework to your app in  
Xcode:

Drag the framework into your Linked Frameworks group in Xcode,  
choosing to copy the framework instead of simply referencing it.
Create a new Copy Files Build Phase for your app's main target.
Drag the framework from the Linked Frameworks folder into the new Copy  
Files Build Phase and select "Frameworks" as its destination.

Did you create the Copy Files Build Phase?  This is the bit I always  
forget to do.

Search your SimpleScrobbler.app folder and see if the  
Sparkle.framework is in there anywhere (I think it should be in  
Resources or something).  If it isn't there, you'll need to add a copy  
files build step that copies the Sparkle.framework into the right  
place in your .app hierarchy.

Some more clues:

http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html#/ 
/apple_ref/doc/uid/20002258-106880-BAJJBIEF

http://books.google.com/books?id=fmCvjdrkoPcC&pg=PA295&lpg=PA295&dq=xcode+private+frameworks+copy+files&source=web&ots=ItNBkMBG_G&sig=pXeakJjaMPFyfCez0vFb_l271aA&hl=en

-Todd Blanchard


On Mar 8, 2008, at 9:46 PM, Matt Coneybeare wrote:

> Hi,
>
> I am a cocoa noob so it most likely the fact that I don't have  
> something set right when i get this error.
>
> I followed the 5-step instructions found on the site but cannot run  
> after compilation:
>
> The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has  
> exited due to signal 5 (SIGTRAP).
>
> [Session started at 2008-03-08 21:41:52 -0800.]
> dyld: Library not loaded: @executable_path/../Frameworks/ 
> Sparkle.framework/Versions/A/Sparkle
>   Referenced from: /Users/coneybeare/Projects/Xcode/SimpleScrobbler/ 
> build/Release/SimpleScrobbler.app/Contents/MacOS/SimpleScrobbler
>   Reason: image not found
>
>
> What can I do?
>
>
> Thanks, Matt
>
> -----------------------
> Matt Coneybeare
> coneybeare at berkeley.edu
> http://coneybeare.net
>
>
>
> _______________________________________________
> Sparkle mailing list
> Sparkle at lists.andymatuschak.org
> http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080309/59b52576/attachment.htm 


More information about the Sparkle mailing list