linker - What is the correct Xcode setting for Position Independent Executables -
just started getting post appstore submission email following advice.
please ensure build settings configured create pie executables.
however setting in xcode appears correct, in linking section found
"don't create position independent executables" set no.
(double negatives yuk).
you may receiving apple warning not because application itself, because 3rd party library not compiled pie. example, if using marmalade sdk engine receive warning (they fix in september).
but can try adding more compiler flags in build settings:
in other c flags may put flag: -fpic
in other warning flags may put: -wl,--emit-relocs , -wl,--warn-shared-textrel
to see if app pie:
otool -hf /path/to/your/app.app/app
reference: https://developer.apple.com/library/ios/qa/qa1788/_index.html
Comments
Post a Comment