<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[compileWithDebugSymbols breaks the export on Windows (malformed XML)]]></title><description><![CDATA[<p dir="auto">Small bug, but it blocked me for a while: enabling <strong>Project Settings → CompileWithDebugSymbols</strong> makes the export fail on Windows with:</p>
<blockquote>
<p dir="auto">xml parsing error, expected '=' after attribute '1'</p>
</blockquote>
<p dir="auto">The cause (found while debugging something else): in <code>hi_backend/backend/ProjectTemplate.cpp, the %STRIP_SYMBOLS_WIN%</code> placeholder sits inside the quoted prebuildCommand attribute:</p>
<pre><code>prebuildCommand="%PREBUILD_COMMAND%;%STRIP_SYMBOLS_WIN%"/&gt;
</code></pre>
<p dir="auto">but what gets substituted into it is itself a set of quoted XML attributes:</p>
<pre><code> alwaysGenerateDebugSymbols="1" debugInformationFormat="ProgramDatabase"
</code></pre>
<p dir="auto">so the inner quote closes the attribute early and the parser trips on the 1. With the setting off it substitutes an empty string, which is why nobody hits it normally.</p>
<p dir="auto"><strong>Fix:</strong> move the placeholder outside the quotes, matching how <code>%STRIP_SYMBOLS_MACOS%</code> is already written elsewhere in the same file:</p>
<pre><code>prebuildCommand="%PREBUILD_COMMAND%"%STRIP_SYMBOLS_WIN%/&gt;
</code></pre>
<p dir="auto">Same fix applies in <code>StandaloneProjectTemplate.cpp</code> (line ~66), which has the identical issue.</p>
<p dir="auto">Worth fixing since this option is exactly what you need when you're trying to debug a crash, it's what was stopping me from getting usable symbols in the first place.</p>
<p dir="auto">Best,<br />
Jon</p>
]]></description><link>https://forum.hise.audio/topic/14922/compilewithdebugsymbols-breaks-the-export-on-windows-malformed-xml</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 15:26:59 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14922.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Jul 2026 12:43:06 GMT</pubDate><ttl>60</ttl></channel></rss>