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
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
etc…
值得注意的框架是:
> SwiftyJSON
>图表
> Alamofire
我已经阅读了Apple Technical QA文章,手动设置这些框架的所有部署目标和我自己的项目无效.有人曾经看过这个问题,能够解决吗?
更新:
我可以确认这些警告不会影响审批流程.我提交了我的应用程序公开发布,尽管有警告,它已被批准.现在我只是好奇苹果公司发生了什么,这对框架开发者来说意味着什么.
解决方法
https://github.com/CocoaPods/CocoaPods/issues/5453
为了总结链接中的信息,最近成功提交的构建没有设置PIE标志,并且通过了OK.所以似乎苹果正在改变一些东西,或者它可能是一个bug.