Non-PIE Binary - The executable 'project name' is not a Position Independent Executable.

后端 未结 3 577
夕颜
夕颜 2020-12-31 16:41

I uploaded a binary on into iTunes Connect, it was validated and accepted to publish to the App Store. I received an email from Apple, saying that my application is an inval

3条回答
  •  一个人的身影
    2020-12-31 17:01

    There is now a document from Apple explaining the issue and how to solve it: 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.

提交回复
热议问题