0

I've been trying to build my application. Whilst it runs fine on 32 bit simulators, it will not build for any 64 bit device and it will not archive. When I try to do these things, it throws up a load of errors about cyclic dependencies in CoreFoundation, Darwin etc. pictured below:

Errors when attempting to archive

I have tried numerous solutions that I found on the web, including changing the architectures to support only armv7 and armv7s and targeting older versions of iOS, but most of these answers are from older versions of Xcode and were posted months ago. Nothing I try seems to work. Any help would be really appreciated.

Thanks.

public static void
  • 1,153
  • 11
  • 20
  • this is not Xcode issue this is you implemented parse or other third-party code that not well setup it it's library not build with `arm64` in to you project. – Nitin Gohel Jun 18 '14 at 10:20
  • What might be in the third-party code to cause this? How would I find it? It still builds for older devices – public static void Jun 18 '14 at 10:25

1 Answers1

0

You have Architectures set to Standard Architectures, which includes arm64 in newer versions of Xcode, but have Valid Architectures set to only include armv7 and armv7s. This needs to be exactly opposite:

Set Architectures to

$(ARCHS_STANDARD_32_BIT)

And set Valid Architectures to

arm64 armv7 armv7s

a good reference from SO

another good link from SO

Community
  • 1
  • 1
user1459524
  • 3,613
  • 4
  • 19
  • 28
  • Thanks for the help. Following this advice allowed me to build my project to run on 64bit simulators, but it still won't archive or run on my actual device; same errors. Any ideas? – public static void Jun 18 '14 at 13:55
  • Try cleaning the project and deleting all derived data perhaps? What errors are you still getting? – user1459524 Jun 18 '14 at 16:34
  • I've done these things numerous times. Still the same errors. I ended up copying the files over into a new project and that did the trick. A bit tedious but oh well. Thanks anyway. – public static void Jun 19 '14 at 11:18