
这是我当前的Podfile:
source 'https://github.com/CocoaPods/Specs.git' platform :ios,'8.0'platform :tvos,'9.0'use_frameworks!pod 'SVGgh'pod "youtube-ios-player-helper","~> 0.1"xcodeproj 'MyProject.xcodeproj'
当我尝试更新我的pod时,出现以下错误:
[!] The platform of the target
Pods(tvOS 9.0) is not compatible withyoutube-ios-player-helper (0.1.4),which does not supporttvos.
显然,这是使用当前版本的Cocoapods.
所以,我需要知道我的Podfile所需的语法.
解决方法 这似乎对我有用:target 'iOSAppTarget' do platform :ios,'8.0' pod 'PodForiOS'endtarget 'TVAppTarget' do platform :tvos,'9.0' pod 'PodForTV'end总结
以上是内存溢出为你收集整理的ios – 仅适用于指定平台的Cocoapod pod全部内容,希望文章能够帮你解决ios – 仅适用于指定平台的Cocoapod pod所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)