Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Phil Greenway September 25, 2012

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

0 votes
Gi Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2012

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.

0 votes
Kim Rasmussen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2012

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

0 votes
Phil Greenway September 26, 2012

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events