Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PINCache 2.2? #66

Closed
benasher44 opened this issue Feb 10, 2016 · 18 comments
Closed

PINCache 2.2? #66

benasher44 opened this issue Feb 10, 2016 · 18 comments

Comments

@benasher44
Copy link
Contributor

Hey there! I'm not sure if you all already had plans for other commits going into the next version bump for PINCache. If not, I'd be happy to make a PR with the CHANGELOG.md update and podspec version bump. We're anxious to integrate #63 into an internal pod we have, and unfortunately the CocoaPods podspec dsl for a pod's dependency doesn't allow us to specify a git sha.

Are you all ready for PINCache 2.2?

@garrettmoon
Copy link
Collaborator

@benasher44 Do it!

@benasher44
Copy link
Contributor Author

@garrettmoon: #67 :)

@benasher44
Copy link
Contributor Author

@garrettmoon thanks for the merge! Can you close this once the new version is pushed to CocoaPods trunk?

@garrettmoon
Copy link
Collaborator

@benasher44 I'm actually hitting an issue pushing to trunk due to a linter error, we can't build for watchOS. Looks like we need to set PIN_APP_EXTENSIONS when building for watch OS. I don't have time to debug this anymore tonight :(

I'll take a look soon, but if you want to give it a go, feel free to download latest master and pod spec lint PINCache.podspec --verbose

@benasher44
Copy link
Contributor Author

ooh okay. i can debug some and follow up

@benasher44
Copy link
Contributor Author

@garrettmoon I went back and tried pod spec lint --verbose on other tags that have already been submitted, and those failed as well. The issue is that there doesn't appear to be a way to set PIN_APP_EXTENSIONS for when pod spec lint goes to build the extension targets (watchos, etc.).

In general, there's another way to design this code such that you don't need PIN_APP_EXTENSIONS. I could put up a PR to discuss it. This would allow allow us to add pod spec lint to the .travis.yml (assuming travis-ci supports this, which I haven't checked on).

@garrettmoon
Copy link
Collaborator

That'd be amazing! I'm definitely curious about how we can avoid using PIN_APP_EXTENSIONS!

@benasher44
Copy link
Contributor Author

Alrighty! I'll get a PR up soonish.

@garrettmoon
Copy link
Collaborator

Thanks @benasher44 !

@ytok
Copy link

ytok commented Feb 11, 2016

Hey y'all, just FYI linting errors start happening after #45, where s.watchos.deployment_target = '2.0' in the podspec is added.

@benasher44
Copy link
Contributor Author

@garrettmoon @ytok seems like this was broken before then, and it's already affecting existing releases. I've fixed the linting and further watch os issues in #68. Since this isn't a regression, maybe it'd be worth just making sure it lints without the watchos line in the podfile, and then releasing anyway?

@garrettmoon
Copy link
Collaborator

@benasher44 I agree, however the tool won't submit without linting :/ I'm reluctant to push without tvos support because it would be removing a feature people may be relying on.

@benasher44
Copy link
Contributor Author

@garrettmoon okay I'll try porting my fixes from #68 that just fix the lint issues to a new PR based off of master. That should unblock 2.2

@benasher44
Copy link
Contributor Author

@garrettmoon In #69, I've fixed the build errors, which should unblock the release. Once that gets merged in, I'll rebase #68, since most of these changes I just pulled in from that branch.

@garrettmoon
Copy link
Collaborator

We (you) did it!

@benasher44
Copy link
Contributor Author

:)

@garrettmoon
Copy link
Collaborator

Thanks for all your work on this!

@benasher44
Copy link
Contributor Author

Thank you for all of the support on your end as well!

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

No branches or pull requests

3 participants