Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Cocoapods spec #154

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Cocoapods spec #154

wants to merge 3 commits into from

Conversation

wileykestner
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants