pivotal-legacy / PivotalCoreKit

Shared library and test code for iOS and macOS projects
http://pivotallabs.com
Other
168 stars 85 forks source link

Cocoapods spec #154

Open wileykestner opened 9 years ago

wileykestner commented 9 years ago

This branch is a proof-of-concept showing how we could test whether or not PCK is deployable via CocoaPods.

Try it out with the new command:

rake cocoapods:spec

This command pulls PCK into the CocoaPodsSampleProject folder, builds an iOS app target, and runs the PCK Foundation-Core and UIKit-Core specs. It proves that at the current revision, those two libraries are deployable via Cocoapods.

There are some potential drawbacks or omissions to this approach, but it is mean to start a conversation. Here are the outstanding issues that I can think of:

• This branch currently only tests that two of the seven PCK static libraries (Foundation-Core, UIKit-Core) • Maintainers will have to remember to add their spec implementations (.mm files) to the CocoaPodsSampleProjectTests target.

briancroom commented 8 years ago

We should really see about updating this (ideally including targets for each platform!) and getting it merged. It is really easy to inadvertently break the podspec at this point.