我是新來的ios開發。出於某種原因,我需要爲我的Cordova應用程序手動設置podfile。在我的podfile中有GoogleCloudMessaging
和GGLInstanceID
,現在我想安裝一個brightcove視頻播放器庫,源碼是https://github.com/brightcove/BrightcoveSpecs.git
。但是,當我在podfile的頂部添加source
時,似乎cocoapods也嘗試從該來源安裝GoogleCloudMessaging
。如何在podfile中使用源代碼?
我podfile:
source 'https://github.com/brightcove/BrightcoveSpecs.git'
use_frameworks!
platform :ios, '8.0'
target 'myapp' do
pod 'Brightcove-Player-Core/dynamic'
pod 'GoogleCloudMessaging'
pod 'GGLInstanceID'
end
錯誤:
Analyzing dependencies
[!] Unable to find a specification for `GoogleCloudMessaging`