Skip to content

Support creating Info.plist for inner framework apple_static_xcframework#2791

Merged
keith merged 4 commits intobazelbuild:masterfrom
louwers:static-xcframework-info-plist
Nov 13, 2025
Merged

Support creating Info.plist for inner framework apple_static_xcframework#2791
keith merged 4 commits intobazelbuild:masterfrom
louwers:static-xcframework-info-plist

Conversation

@louwers
Copy link
Copy Markdown
Contributor

@louwers louwers commented Oct 6, 2025

Will generate an Info.plist for inner .framework directories inside a static XCFramework when infoplists and bundle_id is provided (kept optional for backward compatibility).

Closes #2456

Copy link
Copy Markdown
Member

@keith keith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, there's probably an argument for requiring this in the future like the dynamic version does, but this seems nicer if you don't need it in all cases(?)

@louwers
Copy link
Copy Markdown
Contributor Author

louwers commented Oct 30, 2025

@keith Yes, but I figured it makes sense to keep it backward compatible for now.

@zarechnyy
Copy link
Copy Markdown

zarechnyy commented Nov 7, 2025

@keith are there any chances this PR to be merged? We (eng from Lyft) would like to move MapLibre for open source static framework for iOS.

- Introduced `bundle_id` attribute to specify a reverse-DNS path for embedded frameworks.
- Added `infoplists` attribute to allow merging of .plist files when a bundle ID is provided.
- Updated implementation to collect top-level Info.plists based on the presence of a bundle ID.
- Added tests to verify Info.plist generation for static XCFrameworks with a bundle ID.
@keith keith force-pushed the static-xcframework-info-plist branch from 960050b to e97fd8f Compare November 11, 2025 14:00
@keith keith requested a review from adincebic as a code owner November 11, 2025 14:00
@keith keith enabled auto-merge (squash) November 11, 2025 14:01
@keith
Copy link
Copy Markdown
Member

keith commented Nov 11, 2025

rebased, looks like needs a ci regen, should be green after

@keith keith merged commit bdd83d9 into bazelbuild:master Nov 13, 2025
8 checks passed
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.

Generated XCFramework fails on Xcode 15.3

5 participants