Today, after I uploaded an archive to the app store, Xcode shows me this warning and a few others (all are similar).
Here is one of them:
WARNING ITMS-90080: "The executable 'Payload/MyApp.app/Frameworks/EZLoadingActivity.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library." WARNING ITMS-90080: "The executable 'Payload/MyApp.app/Frameworks/EZLoadingActivity.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."
So apparently this stuff is pretty important that it needs to be said twice.
EZLoadingActivity
is a cocoapod that I'm using to write my app. Since it is a library, it cannot be run on its own. Therefore, I think it's ok for it to not be a Position Independent Executable. But when the warning showed up, I think something must have gone wrong.
I have seen another question whose OP's binary got rejected because of this error. So I'm afraid that my binary will also be rejected.
Will my binary be rejected? Is it fine to have frameworks that are not PIEs? I have other apps that use cocoapods but they don't have this warning when I upload them. This is the first time that I encountered such a warning? Is this serious? What can I do?