无法在Objective-C Pod文件中找到'SquareInAppPaymentsSDK'的规范

问题描述 投票:0回答:1

我想在项目中添加SquareInAppPaymentsSDK,项目是用Objective-C编写的。当我尝试在我的pod文件中添加pod 'SquareInAppPaymentsSDK'并尝试在那时运行pod install时,我收到此规范错误。

Square提到要添加这一行,但我没有使用Swift进行开发,那么我可以在Objective-C中做什么。

use_frameworks!

pod "SquareInAppPaymentsSDK"

如果有人对此有任何疑问,请告诉我。我必须使用手动安装吗?

ios objective-c square-connect square
1个回答
2
投票

尝试使用此命令 -

$ pod repo update

在你的终端。它将为您同步最新的podspec文件。然后尝试 -

$ pod install
© www.soinside.com 2019 - 2024. All rights reserved.