Card.io的CocoaPods错误 [英] CocoaPods error with Card.io
本文介绍了Card.io的CocoaPods错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Xcode(7.1)上安装带有cocoaPods的Card.io(5.2.2)。但是当我运行我的项目时,编译器向我显示此错误:
I'm trying to install Card.io (5.2.2) with cocoaPods on Xcode (7.1). But when i run my project the compilator shows me this error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_CardIOUtilities", referenced from:
type metadata accessor for __ObjC.CardIOUtilities in CheckoutTableViewController.o
"_OBJC_CLASS_$_CardIOPaymentViewController", referenced from:
type metadata accessor for __ObjC.CardIOPaymentViewController in CheckoutTableViewController.o
ld: symbol(s) not found for architecture arm64
我的Podfile包含:
My Podfile contains:
# Uncomment this line to define a global platform for your project
platform :ios, '8.1'
# Uncomment this line if you're using Swift
use_frameworks!
target 'MyApp' do
pod 'Mobile-Buy-SDK'
pod 'HanekeSwift'
pod 'Parse'
pod 'CardIO'
end
我刚刚输入Pod安装,并启动了 .xcworkspace
它创建了。
i just typed pod install, and launched the .xcworkspace
it created.
我认为它与card.io中的静态库有关,但是我无法使它正常工作。有人可以帮我吗?
I think it has something to do with the static libraries inside card.io, but i can't get this to work. Can anyone help me ?
推荐答案
尝试将 $(继承)
添加到您的其他链接器标记构建设置。
Try adding $(inherited)
to your 'Other linker flags' build setting.
这篇关于Card.io的CocoaPods错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文