简体   繁体   English

尝试在iPad Air上运行应用程序应用程序时出错,Apple Mach-O Linker警告和Apple Mach-O Linker错误

[英]error when trying to run app app on iPad Air, Apple Mach-O Linker Warning and Apple Mach-O Linker Error

I have an app that I'm testing. 我有一个正在测试的应用程序。 I have been using on the previous version iPad Mini but am borrowing a current iPad Air. 我以前在iPad Mini上使用过,但在借用当前的iPad Air。 I am able to add to developer profile but get this error when trying to build onto iPad Air. 我可以添加到开发人员资料中,但尝试在iPad Air上构建时出现此错误。 It looks like an error in two pods that I'm using AMSlideoutController and AFNetworking. 看来我正在使用AMSlideoutController和AFNetworking的两个Pod中出现错误。 Here's my Podfile 这是我的Podfile

platform :ios, '7.0'
pod "AFNetworking", "~> 2.0"
pod 'AMSlideOutController' 

I have the feeling that this is some really simple Product config for 64 bit am not really sure. 我觉得这不是一个非常简单的64位产品配置,我不确定。 Any ideas on how to resolve this? 有关如何解决此问题的任何想法? thx 谢谢

Here's the error that I'm getting. 这是我得到的错误。

在此处输入图片说明

Two things, 两件事情,

add -ObjC in the "other linker flags" section of your build settings 在构建设置的“其他链接器标志”部分中添加-ObjC

Then make sure your Build Phases have all the "Link Binary With Library" references that you need. 然后,确保您的构建阶段具有所需的所有“链接二进制文件与库”引用。 Seems you're missing at least one AFNetworking related library, or have linked to a partial library that doesn't contain the extra classes the linker can't find. 似乎您缺少至少一个与AFNetworking相关的库,或者已链接到不包含链接器找不到的额外类的部分库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM