Non-PIE Binary apple send this email to me

Yesterday i upload my application update to apple for review.

But apple send the update for my application to me, it say

Non-PIE Binary - The executable “My APP NAME” is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables.

i already tried to use both option “Yes/No” and re-submit to apple for review.
but it keep send Non-PIE Binary update email to me

is my xcode setting or my unity project problems?

thanks

This reply is just a warning, you do NOT need to resubmit your application.

P.S. we are looking for solution.

Same thing happened to me, saw a post at Xamarim related to the same stuff, so it may be something in mono Apple wasn’t checking before.

I have the same problem!

Are you sure that the Apple Review Team will not reject the app?
I need to put the app online as soon as possible!

I confirm that Apple Review Team approved my app also with this warning message!

I am guessing that even if you have the right build settings, that if a plugin lib was built without the PIE settings, there is no way you can fix it. …apart from removing plugins or asking all the plugin manufacturers to make sure they are PIE compliant.
It could also depend on the target you are building to… probably 5.0 or newer results in this error… it might not if you build to old OS target, but thats just a guess.

I also confirm that today my app (update) has been approved even when I received the message.
Non-PIE Binary - The executable ‘KeplerAR.app’ is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables.

It’d be nice if someone were able to figure out what this Non-PIE binary thing is and how to fix it.

I too just got the same warning, I’m using 3.5.7 which worked fine 4 weeks ago. Must be something new Apple are now detecting. Mantas when you find the problem will you be fixing it for us using 3.5.7?

I am on 4, still gets the warning even with the correct build settings, so might be the plugins/libs built before the new Apple rule.
I just submitted my app a couple of days ago, so waiting to see if it passes or gets rejected… will update here when I find out

I haven’t tried that yet but here it some piece of info that might help =>“Xcode will only make PIE binaries if deployment target is iOS >= 4.3”

So I think if you enable PIE binary setting in xcode project AND make sure target is 4.3 it might work…

If you can try that before I do, please post the result back here …

yep, my build targets were always 4.3 before this. for my latest build submission its built to 5.0. But still got the same apple warning

confirmed what Mantas and NeedCap said. My app just got approved by apple, regardless of the warning.

There any update to this?

I got the same warning email today as well. Sounds like I don’t need to worry about it, but it would feel better to get no warnings after submitting!

Update: fix is on its way towards testers

Thanks Mantas. I work on unity 3.5.7 version. Could you tell us on which version this fix will be applied ? Will it be applied only on unity4 ?

Unity 3.5 is not affected by this issue.

Hi,

My application has the same problem, but it got approved by Apple. The problem seems to be caused by Unity (4.1.5). If inside your Asset folder you have a “Plugins” folder the dll file auto-generated by Unity (Assembly-CSharp.dll) it cannot be configured to Non-PIE Binary. (you can experiment that by just creating an empty project with a “Plugins” folder inside “Assets”).

In what way is Unity 3.5 “not affected” by the issue? I’m using Unity 3.5.7 and received the same warning email, as have several other Unity 3.5 users in this thread.