Error when linked my MacOS project with EDFramework

Discussion of the EDMessage and EDCommon frameworks.

Error when linked my MacOS project with EDFramework

Postby zgzong » 31 Oct 2012, 17:16

Apple Mach-O Linker (Id) Error:

in /Users/.../EDMessage 17/EDCommon.framework/EDCommon, truncated fat file. Slice from 847872 to 1189136 is past end of file with length 1048576 for architecture x86_64
zgzong
 

Re: Error when linked my MacOS project with EDFramework

Postby erik » 02 Nov 2012, 11:46

A similar issue was reported a few months ago on Stackoverflow (http://stackoverflow.com/questions/10873259/edmessage-framework-error). At the time I thought it was a one-off because I couldn't reproduce it. If this comes up more often we should investigate.

I have just redownloaded the published binary for EDCommon (http://www.mulle-kybernetik.com/software/EDFrameworks/), created a new project, and used some EDCommon functionality in it. All worked fine, no linker errors. (You have to turn ARC off, there's a class in EDCommon that's incompatible with ARC.) This was in Xcode Version 4.5.1 (4G1004) on OS X 10.8.2.

Could you provide more detail? What version of Xcode are you using? How did you download EDCommon, how did you include it in the project? What architectures are you building for?
erik
 
Posts: 90
Joined: 10 Oct 2009, 15:22
Location: Hamburg, Germany


Return to ED Frameworks