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

Add/omit the HeadersPath Info.plist key for XCFramework with static libraries. #2115

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keith
Copy link
Member

@keith keith commented Aug 18, 2023

An XCFramework with static libraries can include public
Objective-C(++) headers using the public_hdrs rule attribute,
or generated headers from the underlying Swift module.

This change updates the XCFramework Info.plist generation logic
to add or omit the HeadersPath key if there are any header files.

PiperOrigin-RevId: 499574821
(cherry picked from commit e00404a)

…ibraries.

An XCFramework with static libraries can include public
Objective-C(++) headers using the `public_hdrs` rule attribute,
or generated headers from the underlying Swift module.

This change updates the XCFramework Info.plist generation logic
to add or omit the `HeadersPath` key if there are any header files.

PiperOrigin-RevId: 499574821
(cherry picked from commit e00404a)
@keith
Copy link
Member Author

keith commented Aug 18, 2023

the actual change here wasn't relevant because we produce frameworks not libraries for this rule, so I'm not sure if we'll take these tests or not

keith referenced this pull request Aug 18, 2023
…ibraries.

An XCFramework with static libraries can include public
Objective-C(++) headers using the `public_hdrs` rule attribute,
or generated headers from the underlying Swift module.

This change updates the XCFramework Info.plist generation logic
to add or omit the `HeadersPath` key if there are any header files.

PiperOrigin-RevId: 499574821
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