3

I used Xcode to Archive my application; but once I exported an IPA, I found that I couldn't get the IPA to install on any iPad using IPCU (I get a "This application does support this device's CPU type" message).

After some investigation, I found that this happens when I have an iPad 4 plugged in to my machine; but does not happen otherwise. Presumably this is because Xcode is changing the Architectures in my Build Settings to match the connected device?

Is there a way that I can configure Xcode, so I can create an archive to be installed on any iPad (1/2/3/4) while I have an iPad 4 connected?

Cœur
  • 37,241
  • 25
  • 195
  • 267
HaemEternal
  • 2,229
  • 6
  • 31
  • 50
  • Im doing a lot of builds every day for various apps and often experienced a similar issue - that, although all the profiles were correct, the devices were provisioned, but still kept getting errors. This post: http://stackoverflow.com/a/18408773/1218015 about using Apple Configurator to get a detailed error information helped to point me in the right direction. – idplanter Jan 31 '14 at 17:28

2 Answers2

1

Try removing ARV7S from valid architectures under build setitng

Pawan Sharma
  • 3,199
  • 1
  • 25
  • 32
  • Thanks, that seems to be working now. Would I be better to change the Architectures rather than the Valid Architectures? (http://stackoverflow.com/questions/12701188/whats-the-difference-between-architectures-and-valid-architectures-in-xcode) – HaemEternal Aug 27 '13 at 14:46
  • 1
    I can give you only one hint. You are using some library that is not update for Apple's new architecture ARV7S, i.e. iPhone5 and iPad4. – Pawan Sharma Aug 28 '13 at 06:23
  • The app does run on an iPad 4 though, it's just the archive that doesn't work. – HaemEternal Aug 28 '13 at 19:03
0

In build settings is ONLY_ACTIVE_ARCH set to No? (it should)

Jerome Diaz
  • 1,746
  • 8
  • 15