Skip to content

Conversation

@dierksen
Copy link
Contributor

@dierksen dierksen commented Nov 10, 2022

I'm trying to add some swift_c_module deps for a framework import, and they don't currently work since that only provides CcInfo and SwiftInfo.

It appears that all the uses for apple_common.Objc check to see if it exists, so that shouldn't be a hard requirement at this point. That said, we also would need to cherry-pick this onto 5.x, and the existence check would need to be added along with this change: https://github.com/bazelbuild/rules_apple/compare/bazel/5.x...dierksen:rules_apple:objc_provider_check?expand=1

@dierksen dierksen marked this pull request as ready for review November 10, 2022 21:39
@dierksen
Copy link
Contributor Author

I'm also not completely sure, style-wise, if all the various combinations of providers make sense here, or if only the lone [CcInfo] would make more sense, but this follows the existing pattern.

@keith keith enabled auto-merge (squash) November 12, 2022 19:13
@keith keith merged commit 6dc8288 into bazelbuild:master Nov 12, 2022
dierksen added a commit to dierksen/rules_apple that referenced this pull request Nov 14, 2022
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

Successfully merging this pull request may close these issues.

2 participants