PIE disabled. Absolute addressing error!

After upgrading to mountain lion with xcode 4.5 and unity 4.0.1, from snow leopard and unity 3.5, having this issue

  • PIE disabled. Absolute addressing 
    

I went through all forum and got no answer for this. i reinstall all, still same error (which come with obsolete device location services error, but i managed to get rid of this on…)
Still this PIE error is not letting me continue, i can archive and send to App Store only to be rejected.
PLEASE HELP!

I hate it when my pie gets disabled....mmmm pie

4 Answers

4

After a lot of digging, here’s what I’ve discovered -

in xcode 4.6 build settings change “Dont create position independent executables” from NO to Yes, thats it. after so much trouble…

Thanks, this was driving me crazy.

This doesn't work... All this does is remove the warning because you're literally telling it to not even try to make a Position Independent Build. Apple will send you a defect about this after submission. They will not reject your app for this (as far as I know) but they suggest you update this in farther deliveries because it poses security risks. All this solution does is remove the warning in XCode. In both cases, you receive an email from apple recommending you to fix it.

From my experience, Apple will not send you an email recommending you fix it. I've submitted 3 Apps with this 'fix' and all have been approved without Apple saying or doing anything. Not really sure what the correct solution is though.

i set "Dont create position independent executables"from NO to YES but the binary is not PIE yet… App Store reject my app because is not PIE binary… Can anybody help me?

what do u mean by “not PIE yet…”? I’m no expert but please explain more.

There is an official Q&A page for this in apple : Q&A PIE
I am having the same issue, i have checked all fields and all are as Q&A says, the good news is that apple is not rejecting the app because of that. It´s only a warning.