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.
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.
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.