ios - GcmExample.xcodeproj sample app not found in pod -


i'm following official guide google cloud messaging ios :

start sample using following command terminal:

pod try google

select option gcmexample.xcodeproj prompt.

but here's console output:

pod try google  updating spec repositories  trying google 1: samples/analytics/analyticsexample.xcodeproj 2: samples/signin/signinexample.xcodeproj project open 

there no option gcmexample @ all.

i couldn't find directory, solution fire terminal , hit ->

->cd yourcloningdirectory ->git clone https://github.com/googlesamples/google-services.git 

then after cloning or downloading

->cd google-services(downloaded directory)->ios->gcm-> 

here gcmexample.xcodeproj.

->pod install 

(if failed install/not found repo,try updating podfile

source 'https://github.com/cocoapods/specs.git'

pod 'google/cloudmessaging' )

->open gcmexample.xcworkspace 

here working demo project.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -