Skip to content

Fix the macOS xib test fixture and compile it in the tests - #3151

Merged
adincebic merged 2 commits into
bazelbuild:mainfrom
AttilaTheFun:fix-macos-xib-fixture
Nov 22, 2026
Merged

adincebic merged 2 commits into
bazelbuild:mainfrom
AttilaTheFun:fix-macos-xib-fixture

Conversation

@AttilaTheFun

@AttilaTheFun AttilaTheFun commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

All four view_macos.xib fixtures (two in test/testdata/resources, fr.lproj/it.lproj, and the one in test/starlark_tests/resources) start with a blank line before <?xml ...?>, which isn't valid XML. Xcode 27.2's ibtool refuses them ("Interface Builder can't determine the type of view_macos.xib").

They came in with #1976 and were commented out of the test fixtures at the same time, so nothing ever compiled them. I dropped the leading newline and uncommented the four spots in test/starlark_tests/resources/BUILD, so the macOS resource and framework tests actually compile a xib now.

Tested on Xcode 27.2: both files compile with ibtool, and the macos_application, macos_application_resources, macos_bundle, macos_build_test and macOS framework/dynamic/static framework suites pass (148/148).

@AttilaTheFun
AttilaTheFun marked this pull request as ready for review November 22, 2026 20:45
@adincebic
adincebic merged commit c064681 into bazelbuild:main Nov 22, 2026
10 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.

2 participants