Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld_fatal_error on run after installation of framework #92

Closed
andymatuschak opened this issue Oct 23, 2011 · 9 comments
Closed

dyld_fatal_error on run after installation of framework #92

andymatuschak opened this issue Oct 23, 2011 · 9 comments

Comments

@andymatuschak
Copy link
Contributor

**Peter Hoerster (hoerster)* reported (on Launchpad) on' 2010-01-08:*

I followed the instruction for the installation of the Sparkle 1.5.b6 framework. My program is a 64-bit universal binary.
It builds without error, but on trying to run it stops with the error "dyld_fatal_error" (and three other messages starting with dyld_).

I tried to set the program to 32-bit universal with the same error

I tried to download and compile the latest sources of sparkle and got
the same error

I previously used Sparkle 1.1 without any problems, but this does not
work in 64 bit mode

Is there anything obvious which I made wrong?

Thanks for any help

Peter

@andymatuschak
Copy link
Contributor Author

**Andy Matuschak (andymatuschak)* wrote on 2010-01-08:*

Please post the error messages.

@andymatuschak
Copy link
Contributor Author

**Peter Hoerster (hoerster)* wrote on 2010-01-13:*

Hi Andy,
thanks for looking at my problem.
here are the messages I get when I put the framework into the linked framework section of the project.

#4 0x7fff5fc01052 in __dyld__dyld_start
#3 0x7fff5fc016d2 in __dyld__ZN13dyldbootstrap5startEPK12macho_headeriPPKcl
#2 0x7fff5fc0699c in _dyld__ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5
#1 0x7fff5fc04721 in __dyld__ZN4dyld4haltEPKc
#0 0x7fff5fc01065 in __dyld_dyld_fatal_error

The errors appear when I simply try to run the program.
The Compilation completes without any error.

Thanks for any help
Peter

@andymatuschak
Copy link
Contributor Author

**Hofman (cmhofman)* wrote on 2010-01-14:*

Is the correct version of Sparkle embedded in your app bundle?

@andymatuschak
Copy link
Contributor Author

**Peter Hoerster (hoerster)* wrote on 2010-01-14:*

I have no garbage collection and I am using that framework. Are there other variations?
Peter

@andymatuschak
Copy link
Contributor Author

**Hofman (cmhofman)* wrote on 2010-01-14:*

I'm asking about the embedded framework, is it really there, copied in
your app bundle, and having the correct version?

@andymatuschak
Copy link
Contributor Author

**Peter Hoerster (hoerster)* wrote on 2010-01-15:*

solved!!
I got it now. My mistake was when I created the copy files build phase, I have opened it to select frameworks as destination but then I unfortunately have dragged the linked framework to the small textfield for the path, which resulted in a newly created subpath in the built executable. There the framework could not be found.
So the path textfield in the copy phase window has to be empty and it works.

Thanks for your help
Peter

@andymatuschak
Copy link
Contributor Author

**MarkDenchy (denchysystems)* wrote on 2010-02-16:*

Guys, I'm having a problem similar to Peter's: (This is my first
attempt at adding Sparkle to my app...but I followed Andy's
instructions)

dyld: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Users/markdenchy/Library/Application Support/iPhone Simulator/User/Applications/82701DD2-6207-4543-9954-94C91A6DBC31/AppName.app/AppName
Reason: image not found

I'm using Sparkle 1.56b6 with iPhone OS 3.1.3 (simulator). I have the
Sparkle.Framework in Frameworks and a Copy Files build phase copying the
Sparkle framework to AppName.app/Contents/Frameworks. It doesn't matter
if the checkbox for Copy only during Install is checked or not.

I'd appreciate any help!

@andymatuschak
Copy link
Contributor Author

**Andy Matuschak (andymatuschak)* wrote on 2010-02-16:*

Sparkle does not work on the iPhone.

@andymatuschak
Copy link
Contributor Author

**MarkDenchy (denchysystems)* wrote on 2010-02-17:*

Andy... thanks! I decided to build a quick Cocoa app and it was working
in 20 mins. Then, it dawned on me about how iTunes manages software
updates and I realized that Sparkle isn't necessary for that platform;
and realized that it wasn't supported.

Thanks for the response and the excellent framework. I'll definitely
use it for my upcoming Cocoa app.

Best Regards,
Mark D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant