• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
file is not of required architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file is not of required architecture


  • Subject: file is not of required architecture
  • From: "Michael Hanna" <email@hidden>
  • Date: Mon, 14 Jan 2008 11:30:01 -0800

When building in Release and linking to the 10.4u SDK, I get this error

ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib,
file is not of required architecture

I'm not even linking against these libraries... and this is an empty
Xcode project.

seems these libraries are PPC only. If I remove the tiff libs from the
directory, I get the same error, but with libPNG, which also appears
to be PPC only.

I'm not sure why the linker is giving me this trouble as I never had
this issue before with single-architecture libraries. Any ideas how to
get past this? This problem doesn't appear in Debug mode.

Using Xcode 3.0 on Mac OS X 10.5 on an Intel machine. The Deployment
target is 10.4, universal.

any help would be appreciated,
Michael
 _______________________________________________
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

  • Follow-Ups:
    • Re: file is not of required architecture
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: how to link against a framework that includes other dynamic libararies?
  • Next by Date: Re: file is not of required architecture
  • Previous by thread: Re: How Do Solve This Warning?
  • Next by thread: Re: file is not of required architecture
  • Index(es):
    • Date
    • Thread