cocos2d / cocos2d-console

cocos2d command line tool
152 stars 190 forks source link

Support CocoaPods workspace. #328

Closed xpol closed 7 years ago

xpol commented 8 years ago

CocoaPods is useful when add 3rd party libraries and SDKs for iOS and OS X. So it is worth add support for cocos2d-x projects to use CocoaPods.

Here is currently implemented:

  1. Check Podfile exists in proj.ios_mac.
  2. Check the CocoaPods workspace has the same base name with xcodeproj.
  3. If 1 and 2 are both satisfied, the cocos compile -p [ios|mac] will use CocoaPods workspace for build rather than xcodeproj.
thuydx55 commented 8 years ago

@pandamicro Please merge this PR

xpol commented 8 years ago

Thanks!

gsempe commented 7 years ago

Can we please get this PR merged if it is still alright? Cocoapods support is almost mandatory in iOS/OSX world

natural-law commented 7 years ago

The PR is LGTM. Thanks for your contribution. And sorry for the late reply.