【发布时间】:2021-08-16 19:10:19
【问题描述】:
我在尝试从 Cocoapods 获取仅影响特定计算机的“SpotX”依赖项时遇到问题。我已经在我的个人 MacBook Pro 上尝试过它并且它可以工作。但是,我的 Mac Mini 出现故障。
Podfile 看起来像这样:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Demo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Demo
pod 'SpotX-SDK'
pod 'SuperAwesome', '7.2.13'
pod 'SpotX-SDK-AVPlayer'
target 'DemoTests' do
inherit! :search_paths
# Pods for testing
end
target 'DemoUITests' do
# Pods for testing
end
end
target 'DemoTV' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DemoTV
pod 'SpotX-SDK-AVPlayer'
target 'DemoTVTests' do
inherit! :search_paths
# Pods for testing
end
target 'DemoTVUITests' do
# Pods for testing
end
end
根据Here,版本可用
奇怪的是,它正在使用相同 Xcode 版本的其他计算机上工作......
有什么想法吗?
数据:
git version 2.24.3 (Apple Git-128)
Cocoapods version = 1.10.1
【问题讨论】:
-
可能是 SpotX 支持的问题。
-
我在不同的 pod 上遇到了同样的问题,您找到解决方案了吗?
-
还没有... @SeifMeddeb
标签: cocoapods