gpt4 book ai didi

ios - CocoaPods 与 Card.io 发生错误

转载 作者:行者123 更新时间:2023-12-02 04:21:25 24 4
gpt4 key购买 nike

我正在尝试在 Xcode (7.1) 上使用 cocoaPods 安装 Card.io (5.2.2)。但是当我运行我的项目时,编译器向我显示此错误:

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 包含:

# 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 install,并启动了它创建的 .xcworkspace

我认为这与 card.io 内的静态库有关,但我无法让它工作。谁能帮我吗?

最佳答案

尝试将 $(inherited) 添加到“其他链接器标志”build设置中。

关于ios - CocoaPods 与 Card.io 发生错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34134679/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com