1

I have upgraded to XCode 7 and I am getting an error while linking

ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

I changed the xcode setting to generate position dependent code but the linking still fails. The -no_pie still appears in the linker's output. How can I disable the -no_pie?

enter image description here

cateof
  • 6,378
  • 19
  • 75
  • 146

1 Answers1

0

find the enable bitcode build settings and set to NO:

Build settings

Anbu.Karthik
  • 80,161
  • 21
  • 166
  • 138