Xcode说我的一些豆荚不是PIE,这样好吗? [英] Xcode says some of my pods are not PIEs, is this fine?
问题描述
今天,在我将存档上传到应用程序商店之后,Xcode向我显示了此警告以及其他一些警告(都相似)。
Today, after I uploaded an archive to the app store, Xcode shows me this warning and a few others (all are similar).
这是其中一个:
警告ITMS-90080:可执行文件'Payload / MyApp.app / Frameworks / EZLoadingActivity.framework'不是位置无关的可执行文件请确保您的构建设置已配置为创建PIE可执行文件。有关更多信息,请参阅技术问答&答案QA1788 - 在iOS开发人员库中构建位置无关的可执行文件。
警告ITMS-90080:可执行文件'Payload / MyApp.app / Frameworks / EZLoadingActivity.framework'不是位置无关的可执行文件。请确保您的构建设置已配置为创建PIE可执行文件。有关更多信息,请参阅技术问答QA1788 - 在iOS开发人员库中构建一个独立于位置的位置。
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
是我用来编写应用程序的cocoapod。由于它是一个库,它不能单独运行。因此,我认为它不是一个独立的位置可执行文件。但是当警告出现时,我认为肯定会出现问题。
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.
我看到另一个问题,其OP的二进制文件因此错误而被拒绝。所以我担心我的二进制文件也会被拒绝。
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.
我的二进制文件会被拒绝吗?拥有非PIE的框架是否可以?我有其他使用cocoapods的应用程序,但我上传它们时没有这个警告。这是我第一次遇到这样的警告?这是严重的吗?我该怎么办?
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?
推荐答案
这是一个临时的iTunesConnect问题。
It's a temporary iTunesConnect issue.
我已经检查过没有警告的旧档案。
然后,我发现无论使用什么构建设置,所有构建的嵌入式框架都没有PIE标志。
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.
所以,缺少PIE标志框架不应该是警告的原因。
So, a missing PIE flag for frameworks should not be a reason for a warning.
我认为Apple改变了服务器端验证并引入了一些错误。
I think that Apple changed the server side validation and introduced some bugs.
这篇关于Xcode说我的一些豆荚不是PIE,这样好吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!