• 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
Re: "file was built for archive which is not the architecture being linked (armv6)"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "file was built for archive which is not the architecture being linked (armv6)"


  • Subject: Re: "file was built for archive which is not the architecture being linked (armv6)"
  • From: Jerry Gagelman <email@hidden>
  • Date: Mon, 21 Mar 2011 10:17:02 +0100

"Archive" is just another word for static library. It's difficult to triangulate your problem without more information. How exactly did you set up the project for building a Boost library? A single target? One trivial thing to check would be to examine the target "build settings" under the "levels" view for all of the targets. It sounds like the settings under the Architectures tab are different from one target to another. 

-- Jerry 

On Mon, Mar 21, 2011 at 07:40, G S <email@hidden> wrote:
Hi all.

I built a Boost lib for static linking, with Xcode 4 in an attempt to address the problem in my previous post (weak-symbol compiler complaint).  Now I'm getting the above error.

So now there's an architecture called "archive"?  What is that, and why does the linker think that this lib was built for it?  The project I used to build it is set to "Standard (armv6, armv7)" for both Release and Debug.

I looked at the doc and didn't find any obvious explanation.

Thanks!

 _______________________________________________
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



--
www.os-scientific.org


 _______________________________________________
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 was built for archive which is not the architecture being linked (armv6)"
      • From: G S <email@hidden>
References: 
 >"file was built for archive which is not the architecture being linked (armv6)" (From: G S <email@hidden>)

  • Prev by Date: "file was built for archive which is not the architecture being linked (armv6)"
  • Next by Date: Re: Xcode 4 project always opens scheme iOS Device
  • Previous by thread: "file was built for archive which is not the architecture being linked (armv6)"
  • Next by thread: Re: "file was built for archive which is not the architecture being linked (armv6)"
  • Index(es):
    • Date
    • Thread