I'm new to ios development. For some reason I need to manually set podfile for my Cordova app. There are GoogleCloudMessaging
and GGLInstanceID
in my podfile, now I want to install a brightcove video player library, the source is https://github.com/brightcove/BrightcoveSpecs.git
. However when I add the source
on the top of podfile, it seems cocoapods also try to install GoogleCloudMessaging
from that source.
My 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
Error:
Analyzing dependencies
[!] Unable to find a specification for `GoogleCloudMessaging`
You need to include the official CocoaPods source:
https://github.com/CocoaPods/Specs.git
Docs:
The official CocoaPods source is implicit. Once you specify another source, then it will need to be included.
So your file should work like this I believe:
source 'https://github.com/brightcove/BrightcoveSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '8.0'
target 'myapp' do
pod 'Brightcove-Player-Core/dynamic'
pod 'GoogleCloudMessaging'
pod 'GGLInstanceID'
end
Try by giving like:
pod "Brightcove-Player-FreeWheel", :git => 'https://github.com/brightcove/BrightcoveSpecs.git'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With