添加了支持64位的体系结构时,Apple Mach-O Linker错误 [英] Apple Mach-O Linker Error when Architectures to support 64-bit added
问题描述
我一直在尝试在我的项目中启用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 Linker Error .我总共有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.framework.它创造了更多的问题,可能是由于我在替换新框架方面的不当所致.我在Parse网站上搜索了更新框架的最佳方法,但是我发现答案似乎没有确定的方法.无论如何,我都遵循了 https://parse.com/questions/what-is-the-best-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 Linker错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!