添加支持 64 位的架构时出现 Apple Mach-O 链接器错误 [英] Apple Mach-O Linker Error when Architectures to support 64-bit added

查看:21
本文介绍了添加支持 64 位的架构时出现 Apple Mach-O 链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在我的项目中启用 64 位,因为现在这是将应用程序提交到 App Store 的要求.到目前为止,我为将我的应用程序转换为支持 64 位所做的工作实际上是按照我在 StackOverflow 上搜索过的其他人的问题/答案进行的,我发现的内容归结为

I've been trying to enable 64-bit in my project as this is now a requirement for submitting app to the App Store. What I've done so far to convert my app to support 64-bit is actually following others' questions/answers I've searched on StackOverflow and what I've found came down to

  • 架构设置为标准架构(armv7、arm64)"
  • 有效架构设置为arm64 armv7 armv7s"
  • 仅构建活动架构设置为否"(有些人提到了这一点,所以我只是尝试了一下)
  • Set Architectures to "Standard architectures (armv7, arm64)"
  • Set Valid Architectures to "arm64 armv7 armv7s"
  • Set Build Active Architectures Only to "No" (some mentioned this, so I just tried it out)

上述内容会造成 Apple Mach-O 链接器错误的错误.我一共犯了 13 个错误.它们的详细信息如下图所示:

Those above create errors of Apple Mach-O Linker Error. I totally got 13 errors of them. They're shown in details as pictures below:

在我看来,这像是 Parse 框架问题,但我太新了,无法确定.即便如此,我还是试图用我从其网站下载的新框架替换我当前的 Parse.framework.它产生了更多的问题,这些问题可能是由于我更换新框架的方式不当造成的.我在 Parse 网站上搜索了更新框架的最佳方法,但我发现的答案似乎没有确定的方法.无论如何,我遵循了这个 https://parse.com/questions/what-is-the-best-way-to-rollout-new-parse-changes 但它不起作用.

It looks to me like a Parse framework issue but I'm too new to know that for sure. Even so, I've tried to to replace my current Parse.framework with a new one I downloaded from its website. It created even more issues that might be caused by my bad on how I replaced that new framework. I've searched on Parse website what the best way to update framework but answers I found seem there's no certain way to do it. Anyway I followed this https://parse.com/questions/what-is-the-best-way-to-rollout-new-parse-changes but it's not working.

所以我决定把我的问题放在这里,希望有人能在我陷入长期错误之前引导我走正确的道路.非常感谢.

So I decided to drop my question here hoping someone tapping in to guide me the right path to go before I fall into the long wrong one. Thanks very much in advance.

推荐答案

我通过将 Parse.framework(也感谢 @Raptor)成功升级到从 解析网站.

I solved this question by successfully upgrading Parse.framework (also thanks to @Raptor) to the latest downloaded from Parse website.

这篇关于添加支持 64 位的架构时出现 Apple Mach-O 链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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