freshplanet / ANE-Network-Info

Air Native Extension (iOS and Android) for getting Network Information
Apache License 2.0
94 stars 33 forks source link

ANE does not comply with new Apple rules #5

Closed neuronix closed 11 years ago

neuronix commented 11 years ago

ANE disables PIE during AOT packaging.

Since May 1st, all applications must be PIE binarnies and therefore Apple will reject any application using the ANE is its current state.

Please update the ANE, here is the packaging error that can help you fix it:

ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _llvm_unwind from AOTBuildOutput-0.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

neuronix commented 11 years ago

Discard this issue, it's irrelevant, any packaging process including ANEs disables PIE atm.

Furthermore, Apple still seems to accept the binaries although we receive a warning email.