Skip to content

transform XCTRunner.app Info.plist to xml before sed'ing it#2763

Merged
aaronsky merged 1 commit intobazelbuild:masterfrom
aaronsky:aaronsky/xctestrun-runner-app-infoplist-binary
Aug 6, 2025
Merged

transform XCTRunner.app Info.plist to xml before sed'ing it#2763
aaronsky merged 1 commit intobazelbuild:masterfrom
aaronsky:aaronsky/xctestrun-runner-app-infoplist-binary

Conversation

@aaronsky
Copy link
Copy Markdown
Contributor

@aaronsky aaronsky commented Aug 6, 2025

Handle the new case in Xcode 26 where the Info.plist in the XCTRunner.app is a binary plist, rather than an XML plist in Xcode 16. Coercing the plist to xml works whether or not it is originally a plist, and Xcode 16 handles the case of a binary plist adequately.

Also willing to rework this to do keypath-based substitution instead of using sed, though the sed approach has definitely proven resilient up to now.

@aaronsky aaronsky marked this pull request as ready for review August 6, 2025 13:10
@aaronsky aaronsky merged commit 1df2545 into bazelbuild:master Aug 6, 2025
8 checks passed
@aaronsky aaronsky deleted the aaronsky/xctestrun-runner-app-infoplist-binary branch August 6, 2025 23:36
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.

3 participants