简体   繁体   中英

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. I am able to add to developer profile but get this error when trying to build onto iPad Air. It looks like an error in two pods that I'm using AMSlideoutController and AFNetworking. Here's my 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. 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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