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,608
  • 25
  • 79
  • 153

1 Answers1

0

find the enable bitcode build settings and set to NO:

Build settings

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143