gpt4 book ai didi

iphone - 非 PIE 二进制文件 - 可执行文件 'project name' 不是位置无关的可执行文件。

转载 作者:行者123 更新时间:2023-12-03 18:32:36 27 4
gpt4 key购买 nike

我将二进制文件上传到 iTunes Connect,它经过验证并接受发布到 App Store。我收到了一封来自 Apple 的电子邮件,称我的应用程序是无效的二进制文件:

Dear developer,

We have discovered one or more issues with your recent delivery for "Project name". To process your delivery, the following issues must be corrected:

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All apps must include a launch image of the appropriate size. Learn more about iPhone 5 support by reviewing the iOS Human Interface Guidelines.

Though you are not required to fix the following issues, we wanted to make you aware of them:

Non-PIE Binary - The executable 'xyz.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. Once the required corrections have been made, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

我已将 Target > Build Settings 中的Don't Create Position Independent Executables 选项更改为 YES ,但我仍然收到上面相同的消息。

最佳答案

Apple 现在有一份文档解释了该问题以及如何解决它:QA1788: Building a Position Independent Executable ,

Steps for building your application as PIE

  1. In Xcode, select your target in the "Targets" section, then click the "Build Settings" tab to view its settings.

  2. For iOS apps, set iOS Deployment Target to iOS 4.3 or later. For Mac apps, set OS X Deployment Target to OS X 10.7 or later.

  3. Verify that Generate Position-Dependent Code is set at to NO.

  4. Verify that Don't Create Position Independent Executables is set to NO.

关于iphone - 非 PIE 二进制文件 - 可执行文件 'project name' 不是位置无关的可执行文件。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16455416/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com