Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode says some of my pods are not PIEs, is this fine?

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?

like image 528
Sweeper Avatar asked Jun 03 '16 06:06

Sweeper


People also ask

Do all pods allow their dependencies to update to latest version?

Not all pods allow their dependencies to update to latest. Sorry, something went wrong. Is it meaningful to force updating to the latest version of such pods by changing the versions in Podfile.lock? Sorry, something went wrong.

Is Xcode a disk hog?

But even after installation, Xcode is a disk hog. You will have to do some serious purging of files. Did you find a solution? I just cleared out a lot of space and made up to 104.3 GB available (according to About This Mac) and the App Store still says there isn't enough storage available for Xcode.

Why can't I install Facebook on CocoaPods?

As for the Facebook dependency, CocoaPods won't install the newest version if it's labeled as an alpha or beta version iirc. You can see the dependency specifier here.

How much disk space needed for Xcode 11 3?

The space needed for Xcode 11.3 is between 24-26GB. Verified just now by deleting files incrementally. Posted by


1 Answers

It's a temporary iTunesConnect issue.

I've inspected older archives that passed without warning. Then, I found that all the embedded frameworks built don't have the PIE flag regardless of what build setting was used.

So, a missing PIE flag for frameworks should not be a reason for a warning.

I think that Apple changed the server side validation and introduced some bugs.

like image 101
jeeeyul Avatar answered Nov 15 '22 18:11

jeeeyul