Skip to content

Fix macOS framework bundle layout#59

Merged
Kyle-Ye merged 1 commit into
mainfrom
codex/fix-macos-framework-bundles
Apr 25, 2026
Merged

Fix macOS framework bundle layout#59
Kyle-Ye merged 1 commit into
mainfrom
codex/fix-macos-framework-bundles

Conversation

@Kyle-Ye
Copy link
Copy Markdown
Member

@Kyle-Ye Kyle-Ye commented Apr 25, 2026

Summary

Fixes the macOS framework bundle layout for private framework xcframework slices so Xcode 26 no longer rejects embedded frameworks with shallow Info.plist files.

Details

  • Adds macOS-specific versioned framework generation to AG, RB, CoreUI, CoreSVG, and SFSymbols update scripts.
  • Converts checked-in macOS framework slices so resources live under Versions/Current/Resources/Info.plist with top-level framework symlinks.
  • Leaves non-macOS shallow framework slices unchanged.

Root Cause

Xcode 26 validates macOS framework bundles as non-shallow bundles. Some macOS xcframework slices still placed Info.plist at the framework root, which caused errors like expected Versions/Current/Resources/Info.plist when embedding frameworks in macOS example apps.

Validation

  • plutil -lint on all macOS framework Versions/Current/Resources/Info.plist files.
  • xcodebuild -workspace Example/Example.xcworkspace -scheme AGExample -destination 'platform=macOS' -configuration Debug build
  • xcodebuild -workspace Example/Example.xcworkspace -scheme RBExample -destination 'platform=macOS' -configuration Debug build
  • xcodebuild -workspace Example/Example.xcworkspace -scheme CoreUIExample -destination 'platform=macOS' -configuration Debug build
  • xcodebuild -workspace Example/Example.xcworkspace -scheme SFSymbolsExample -destination 'platform=macOS' -configuration Debug build

CoreSVG has a macOS framework slice but no example scheme in this workspace, so its bundle layout and plist were validated directly.

@Kyle-Ye Kyle-Ye changed the title [codex] Fix macOS framework bundle layout Fix macOS framework bundle layout Apr 25, 2026
@Kyle-Ye Kyle-Ye marked this pull request as ready for review April 25, 2026 06:27
@Kyle-Ye Kyle-Ye merged commit 5c4f7a9 into main Apr 25, 2026
12 checks passed
@Kyle-Ye Kyle-Ye deleted the codex/fix-macos-framework-bundles branch April 25, 2026 06:28
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.

1 participant