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

Cocoapods spec#154

Open
wileykestner wants to merge 3 commits intopivotal-legacy:masterfrom
wileykestner:cocoapods_spec
Open

Cocoapods spec#154
wileykestner wants to merge 3 commits intopivotal-legacy:masterfrom
wileykestner:cocoapods_spec

Conversation

@wileykestner
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants