• 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" error on most sample code builds on xcode 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"file is not of required architecture" error on most sample code builds on xcode 3


  • Subject: "file is not of required architecture" error on most sample code builds on xcode 3
  • From: Ian Grant <email@hidden>
  • Date: Sat, 10 Nov 2007 10:00:40 +0000

Hi I am getting an error on most (all) sample code I build at present on leopard.

Here's an example error message:
/Users/iboy/Downloads/VideoHardwareInfo/build/VideoHardwareInfo.build/ Development/VideoHardwareInfo.build/Objects-normal/ppc/ VideoHardwareInfo.LinkFileList -framework Cocoa -framework IOKit - framework OpenGL -arch ppc -prebind -mmacosx-version-min=10.3 - bind_at_load -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib, file is not of required architecture
collect2: ld returned 1 exit status
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libTIFF.dylib, file is not of required architecture
collect2: ld returned 1 exit status


Most settings default to targetting Mac OS 10.4 (Universal)
Using: $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
ppc i386

I am quite suspicious of that libTIFF.dylib.

As soon as I change the project setting to target the current platform or Mac OS 10.5 - the projects build.
Is there something else I am missing, or is that libTIFF of the wrong architecture?


Thanks, Ian


******************************* Ian Grant Senior Lecturer in Digital Art Faculty of the Arts Thames Valley University Ealing, UK W5 5DX <email@hidden> *******************************



_______________________________________________
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" error on most sample code builds on xcode 3
      • From: Chris Espinosa <email@hidden>
    • Re: "file is not of required architecture" error on most sample code builds on xcode 3
      • From: Ian Grant <email@hidden>
  • Prev by Date: Interface Builder can't identify plugins when opening old NIBs
  • Next by Date: Re: Interface Builder can't identify plugins when opening old NIBs
  • Previous by thread: Re: Interface Builder can't identify plugins when opening old NIBs
  • Next by thread: Re: "file is not of required architecture" error on most sample code builds on xcode 3
  • Index(es):
    • Date
    • Thread