【问题标题】:xCode 4.6.1 - Don't Create Position Independent Executables. Can't enablexCode 4.6.1 - 不要创建与位置无关的可执行文件。无法启用
【发布时间】:2013-07-03 12:48:01
【问题描述】:

我收到了来自 App Store 的邮件:

Non-PIE Binary - The executable '***.app' is not a Position Independent Executable.

我将 Dependent Code 设置为 NO。但我找不到不要创建与位置无关的可执行文件 在构建设置 - 链接中。只有其他链接器标志。

在哪里可以找到此选项?

【问题讨论】:

    标签: xcode position app-store executable xcode4.6


    【解决方案1】:

    您需要编辑项目目标的构建设置。

    确保 IOS 部署目标高于 4.3 或 OSX 高于 10.7。 Generate Position-Dependent Code 设置为“NO”,Don't Create Position Independent Executables 也设置为“NO”

    如果这不能解决您的问题,可能是您项目中包含的库没有这些设置。 What is the correct Xcode setting for Position Independent Executables 可能会有所帮助。

    【讨论】:

      猜你喜欢
      • 2020-05-03
      • 2019-02-23
      • 2015-08-17
      • 1970-01-01
      • 2015-08-10
      • 2018-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多