LoginSignup
0
0

More than 5 years have passed since last update.

cocos2d-iphone-extensions も CocoaPods で使いたい

Posted at

cocos2dをCocoaPodsでプロジェクトに追加できるようになったのだから、cocos2d-iphone-extensionsもCocoaPodsで管理したい。

どうやらCCPodsというプロジェクトがあるようなのでこれを利用する。

CCPodsのPodSpecはsubspecが切られていて素敵。
例えば、CCLayerPanZoomだけを使いたかったら以下のようにPodfileを記述すればOK。

pod 'cocos2d-iphone-extensions/CCLayerPanZoom', :podspec => 'https://raw.github.com/CCPods/CCPods-specs/master/cocos2d-iphone-extensions/0.2/cocos2d-iphone-extensions.podspec'

Podfileには直接podspecファイルを指定してpodを追加するように記述できるので、これを使うとCCPodsのリポジトリをPod sourceに追加しなくても使える。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0