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

pod gen doesn't respect platform specific dependencies #24

Open
mikehaney24 opened this issue May 17, 2019 · 3 comments
Open

pod gen doesn't respect platform specific dependencies #24

mikehaney24 opened this issue May 17, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@mikehaney24
Copy link

Given a podspec supporting multiple platforms but also with a platform-specific depa like s.ios.dependency 'SomeiOSSpecificDep', pod gen won't generate a podfile that has that platform information in it. Running pod gen will produce an error similar to

Generating MyLib in `gen/`
[!] The platform of the target `App-macOS` (macOS 10.11) is not compatible with `SomeiOSSpecificDep (1.0)`, which does not support `osx`.
@segiddins
Copy link
Contributor

Thanks for the issue! Would you be able to share a podspec we can use to reproduce the issue? Thanks!

@segiddins segiddins added the bug Something isn't working label May 24, 2019
paulb777 added a commit to paulb777/cocoapods-generate that referenced this issue May 26, 2019
paulb777 added a commit to paulb777/cocoapods-generate that referenced this issue May 26, 2019
@paulb777
Copy link
Contributor

Here's an integration test that demonstrates the issue: paulb777@ea11dc1

@paulb777
Copy link
Contributor

Looks to be a CocoaPods bug - CocoaPods/CocoaPods#8855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants