我忠实地遵循了cocoapods说明:Podfile是:
# Uncomment the next line to define a global platform for your project
# platform :ios '9.0'
target 'SquareTesting' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for SquareTesting
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firestore', :podspec => 'https://storage.googleapis.com/firebase-preview-drop/ios/firestore/0.7.0/Firestore.podspec.json'
pod 'SquarePointOfSaleSDK'
end
我也执行了pod update
和pod install --repo-update
,并且在短语中出现了使用SquarePointOfSaleSDK(3.3.1)的消息。
" SquarePointOfSaleSDK" pod显示在文件导航器中已安装的pod列表中。
任何建议都会非常感谢!
答案 0 :(得分:0)
经过一整天的挣扎,我放弃并使用
#import <SquarePointOfSaleSDK.h>
而不是
@import SquarePointOfSaleSDK;
它有效,但我想知道解决此问题的最佳方法是什么。