After upgrading to Xcode 4.4 I am getting this annoying linker error when trying to run my (universal) app on the iPhone or iPad. I have no problems if I run it on the iOS Simulator though... I tried adding armv6, and excluding armv7, but no luck... Any idea?
Asked
Active
Viewed 926 times
2 Answers
12
Just wanted to say thanks for the question and your answer, niraj! I had the same problem and the solution worked perfectly.
To save people some translation time, the answer is to set "Generate Position-Dependent Code" to "No" in the "Apple LLVM compiler 4.0 - Code Generation" section of your target's "Build Settings".

eddybox
- 355
- 1
- 10
2
After wasting three hours on it, I finally found one useful post in a Chinese blog that solved my problem!!! Here is the link:

Giovanni
- 257
- 5
- 13