1

Can I use .a's built with Xcode 4.3.3 in Xcode 4.5? When I build with simulator it is building fine, when I'm build for device it is showing many reference error. What I am suspecting is .a's I'm using is older. Am I right. Is there any way I can fix this problem instead of building all .a's with Xcode 4.5.

thanks.

Janak Nirmal
  • 22,706
  • 18
  • 63
  • 99
Newbee
  • 3,231
  • 7
  • 42
  • 74
  • 1
    hard to know without much detail, but this is probably related to Xcode 4.5 dropping support for armv6 architecture. Do you have access to the source to rebuild on Xcode 4.5? – wattson12 Oct 16 '12 at 10:11
  • No I don't have source now. I have to request for that :( – Newbee Oct 16 '12 at 10:13
  • 1
    OK simplest way is to ask, but in the meantime, try [this](http://blog.chpwn.com/post/31824877081) – wattson12 Oct 16 '12 at 10:22
  • It looks tricky, Ill try :). Can you please add this link as answer so that I can accept. – Newbee Oct 16 '12 at 10:36

1 Answers1

2

I think this is an issue with using a library which was build supporting armv6, which has been dropped in Xcode 4.5

The best long term solution is to ask the developer who created these libraries to rebuild to support the latest Xcode, but in the meantime you can try following these instructions

wattson12
  • 11,176
  • 2
  • 32
  • 34
  • Thank You for your answer. One more doubt, If I build with Xcode 4.5, can I use that application in lower version of IOS? or Will it create problem like this? – Newbee Oct 16 '12 at 10:58
  • 1
    [this answer](http://stackoverflow.com/a/12463536/1138900) has a good summary of which versions you can support and how – wattson12 Oct 16 '12 at 11:08