警告 ITMS-90080:“可执行文件 'Payload/myapp.app/Frameworks/some-framework.framework' 不是位置无关的可执行文件 [英] WARNING ITMS-90080: "The executable 'Payload/myapp.app/Frameworks/some-framework.framework' is not a Position Independent Executable

查看:25
本文介绍了警告 ITMS-90080:“可执行文件 'Payload/myapp.app/Frameworks/some-framework.framework' 不是位置无关的可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前可以毫无问题地提交我的申请.我工作流程中唯一改变的部分是 Sourcetree 的使用.在对以下框架进行更新后,我在提交到 iOS App Store 时收到此警告.我还收到一封电子邮件,其中包含:

I have previously been able to submit my application without issue. The only part of my workflow that changed was the use of Sourcetree. After pulling updates to the following frameworks, I receive this warning when submitting to the iOS App Store. I also receive an email that contains:

非 PIE 二进制文件 - 可执行文件Payload/myapp.app/Frameworks/Alamofire.framework"不是位置无关的可执行文件.请确保您的构建设置已配置为创建 PIE 可执行文件.有关更多信息,请参阅技术问答 QA1788 - 构建位置独立的可执行文件

Non-PIE Binary - The executable 'Payload/myapp.app/Frameworks/Alamofire.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

非 PIE 二进制文件 - 可执行文件Alamofire.framework"不是位置无关的可执行文件.请确保您的构建设置已配置为创建 PIE 可执行文件.有关更多信息,请参阅技术问答 QA1788 - 构建位置独立的可执行文件

Non-PIE Binary - The executable 'Alamofire.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

等等...

有问题的著名框架是:

  • SwiftyJSON
  • 图表
  • 阿拉莫火

我已阅读 Apple 技术 QA 文章,手动设置这些框架的所有部署目标和我自己的项目都无济于事.有没有人以前见过这个问题并且能够解决它?

I've read the Apple Technical QA article, manually set all deployment targets of these frameworks and my own project to no avail. Has anyone seen this issue before and was able to resolve it?

更新:

我可以确认这些警告不会影响提交审批流程.我提交了我的应用程序以供公开发布,尽管有警告,它还是被批准了.现在我只是好奇 Apple 那边发生了什么,以及这对框架开发者意味着什么.

I can confirm that these warning do not affect the submission approval process. I submitted my app for public release and it was approved despite the warnings. Now I'm just curious as to what happened on Apple's end and what this means for framework developers.

推荐答案

看起来这可能是 Apple 方面的错误,我今天也遇到了这个问题.请看这里:

Looks like it may be a bug on Apple's side, I've had this today too. See here:

https://github.com/CocoaPods/CocoaPods/issues/5453

总结链接中的信息,最近成功提交的构建没有设置 PIE 标志,它们通过了 OK.所以看起来苹果正在改变某些东西,或者它可能是一个错误.

To summarise the info in the link, recent successfully submitted builds had no PIE flag set and they went through OK. So it seems that either Apple is changing something or it may be a bug.

这篇关于警告 ITMS-90080:“可执行文件 'Payload/myapp.app/Frameworks/some-framework.framework' 不是位置无关的可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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