Skip to content

fix: additional new line in info.plist#5389

Open
javiersuweijie wants to merge 1 commit intoDioxusLabs:mainfrom
javiersuweijie:fix/info-plist-new-line
Open

fix: additional new line in info.plist#5389
javiersuweijie wants to merge 1 commit intoDioxusLabs:mainfrom
javiersuweijie:fix/info-plist-new-line

Conversation

@javiersuweijie
Copy link

This fixes: #5387

There is an additional new line that breaks some downstream applications that do not trim the XML before parsing it.

@javiersuweijie javiersuweijie requested a review from a team as a code owner March 19, 2026 03:37
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66fb509654

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 7023 to +7024
let entitlements_xml = format!(
r#"
<?xml version="1.0" encoding="UTF-8"?>
r#"<?xml version="1.0" encoding="UTF-8"?>

Choose a reason for hiding this comment

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

P2 Badge Update the code path that actually writes iOS Info.plist

For the default iOS build path, this change only alters auto_provision_entitlements(), and that string is written to a temporary entitlements file for codesigning (packages/cli/src/build/request.rs:6510-6523), not to the bundled Info.plist. The app’s Info.plist is still produced by info_plist_contents() and the unchanged packages/cli/assets/ios/ios.plist.hbs template (packages/cli/src/build/request.rs:4893-4896, 5398-5401), so the first-line newline bug reported in #5387 will still reproduce for users who rely on the generated plist.

Useful? React with 👍 / 👎.

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.

[iOS build] Line-break on the first line of info.plist

1 participant