我正在我的iOS应用程序中集成Hypertrack SDK
并遵循他们的文档中的步骤。根据他们的文档,以下是需要在podfile
中添加的代码:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target 'AppName' do
pod 'HyperTrack'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.3'
end
end
end
end
当我在终端中运行pod install
命令时,它不会安装hypertrack pod。我甚至尝试过pod update
,但它不起作用。
任何人都可以帮助我并解释我这里有什么问题吗?
日志是否返回了什么?尝试更新您的cocoapods,这可能会有效。
我联系了Hypertrack的Slack支持团队,并解决了这个问题。以下是我遵循的步骤: -
pod repo update
pod install
pod update
并且瞧它工作了!我不确定为什么我在之前尝试时无法安装它,但在执行这些步骤后我能够解决问题。