Can't Compile Apps for iOS6 using XCode 4.5 because of JMC

This is the error I am getting:-

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/sikosis/Dropbox/Code/Back2BackFM/Back2BackFM/JIRAConnect/JMCClasses/Libraries/CrashReporter.framework/CrashReporter for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation)

It's to do with JMC's CrashReporter.

3 answers

In Xcode's Targets, Build Settings ... I found a section called "Build Active Architecture Only" which was set to No.

I set it to Yes and then I was able to compile the app.

But building on the active architecture only, doesn't it mean that we will be unable to build for iPhone 5 ?

You can download the PLCrashReporter source and build rev 454 or newer and replace the existing CrashReporter library that is bundled with JMC. This has been working for me for without any issues using the current tip of JMC.

Warning: I don't actually know what ramifications that this will cause as I did this blindly without really looking at if this something that is acceptable. ;-) Perform at your own risk.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

264 views 5 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot