當我嘗試使用帶有tvOS的火力地堡框架(通過的CocoaPods)我得到以下錯誤:使用火力地堡與tvOS
Target 'Pods-Portal TV' of project 'Pods' was rejected as an implicit dependency for 'Pods_Portal_TV.framework' because it doesn't contain platform 'appletvsimulator' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'
我「騙」的CocoaPods安裝框架,由於它不承認tvOS作爲支持平臺,宣佈目標爲:ios
。
所以很容易看出問題所在。我的問題:是否可以解決這個問題,直到Firebase正式支持tvOS?
嗯...你可以嘗試[for the podspec](https://github.com/CocoaPods/Specs/blob/master/Specs/Firebase/2.0.2/Firebase.podspec.json )並添加一個「tvos」平臺。 –
如何將新的podspec指定爲要使用的規格? @AaronBrager – Chris
查看https://guides.cocoapods.org/making/private-cocoapods.html –