Re: Cocoa-Application with Universal Static Library
Re: Cocoa-Application with Universal Static Library
- Subject: Re: Cocoa-Application with Universal Static Library
- From: Clark Cox <email@hidden>
- Date: Wed, 25 Jan 2006 13:51:02 -0500
On 1/25/06, Daniel Vollmer <email@hidden> wrote:
> I've got a Cocoa application (Cocoa NSDocument-based App) that is set
> up as the (first) target of the project. This application depends on
> a library I've written in C. So I've set up another target (BSD
> Static lib) which contains the needed files (*.c & *.h). This lib is
> checked for the Cocoa-target (as it is needed for linking it) and
> also added as direct dependency.
>
> All of this works fine in Debug mode with ZeroLink. Switching to
> Release, I get the following error
>
> /usr/bin/ld: warning /Users/maven/Development/Xcode/Kompressor/build/
> Release/libwavelet.a archive's cputype (18, architecture ppc) does
> not match cputype (7) for specified -arch flag: i386 (can't load from
> it)
Are you sure that libwavelet.a is being built correctly? From this, it
looks like libwavelet.a is a ppc-only library. I'd start by looking at
the settings that are different between your Debug and Release
configurations (if you want, you can copy and past them into text
documents, and then use FileMerge or opendiff to compare them)
--
Clark S. Cox III
email@hidden
My CV/Resume:
http://homepage.mac.com/clarkcox3/files/Resume.pdf
http://homepage.mac.com/clarkcox3/files/Resume.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden