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 Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

56 views 0 4
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