passepartoutvpn / openssl-apple

A script for compiling OpenSSL for Apple Devices.
Apache License 2.0
143 stars 68 forks source link

Non-PIE Binary error from App Store #4

Closed jbmaxwell closed 5 years ago

jbmaxwell commented 5 years ago

I'm getting a "Non-PIE Binary" error when trying to upload to the App Store. Is there a flag to provide the correct settings when building the framework?

keeshux commented 5 years ago

Are you sure that the validator is expressly complaining about this framework? I never meant to make this a "Position-Dependent Executable", of course. Also, I submitted several builds to the App Store with it and never faced such an issue.

jbmaxwell commented 5 years ago

Yes, they explicitly mention openssl: The executable 'Payload/Spliqs.app/Frameworks/openssl.framework' is not a Position Independent Executable.

We're just doing a Test Flight beta, at this point, and we submitted one a couple of weeks ago, without any complaints. So this is a new thing from Apple.

keeshux commented 5 years ago

Bummer. Yeah it must be. I also have an app currently on TestFlight using this binary, I uploaded the latest build yesterday. It's really the first time I hear of this. Let me know if you find out more, I will as well.

jbmaxwell commented 5 years ago

Okay, I'll let you know. It looks like the flag might be -fPIE... ??

keeshux commented 5 years ago

Found these:

Apple fault?

keeshux commented 5 years ago

Closing due to inactivity.