就像上面说的,我在联合公司做了一个游戏,并为iOS设备制作了它。客户端询问我们是否可以在游戏中实现WebTrends,所以我按照此链接的指示来安装它。
这就是我的荚文件的样子:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/Webtrends/ios-sdk.git'
pod 'Webtrends-SDK/Core', '~>3.0'
target 'Unity-iPhone' do
pod 'Webtrends-SDK/Core', '~> 3.0'
end但是,在运行pod install之后,我的结果是:
[!] CocoaPods could not find compatible versions for pod "Webtrends-SDK/Core":
In Podfile:
Webtrends-SDK/Core (~> 3.0)
Specs satisfying the `Webtrends-SDK/Core (~> 3.0)` dependency were found, but they required a higher minimum deployment target.我试着搜索WebTrends SDKCore3.0的最低部署目标是什么,但是出现了一个空白。
我回到了联合公司检查,并将最低部署目标设置为6.0。我把它提高到8.0,重建,重新安装cocoapods,但我也遇到了同样的结果。
还有什么我可以试试的吗?
发布于 2018-03-08 08:05:07
我将我的最低构建目标设置为8.0,然后将下面的行添加到我的pod文件中,从而使它工作起来:
platform :ios, '8.0'吊舱安装的结果是:
Analyzing dependencies
Downloading dependencies
Installing Webtrends-SDK (3.2.7)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `Unity-iPhone.xcworkspace` for this project from now on.
Sending statshttps://stackoverflow.com/questions/49148998
复制相似问题