Xcode 说我的一些 pod 不是 PIE,这样可以吗? [英] Xcode says some of my pods are not PIEs, is this fine?

查看:36
本文介绍了Xcode 说我的一些 pod 不是 PIE,这样可以吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,在我将存档上传到应用程序商店后,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 说我的一些 pod 不是 PIE,这样可以吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆