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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

68 views 0 11
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