How to add swift compiler custom flag through XCode templates
<p>I've try to add swift compiler custom flag in target through XCode Templates</p>

<p><strong>Default</strong></p>

<p><a href="https://i.stack.imgur.com/NsBDm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NsBDm.png" alt="swift compiler custom flag in target"></a></p>

<hr>

<pre><code>&lt;key&gt;Targets&lt;/key&gt;
    &lt;array&gt;
        &lt;dict&gt;
            &lt;key&gt;Configurations&lt;/key&gt;
            &lt;dict&gt;
                &lt;key&gt;Debug&lt;/key&gt;
                &lt;dict/&gt;
                &lt;key&gt;Release&lt;/key&gt;
                &lt;dict/&gt;
            &lt;/dict&gt;
            &lt;key&gt;Name&lt;/key&gt;
            &lt;string&gt;___PACKAGENAME___&lt;/string&gt;
            &lt;key&gt;SharedSettings&lt;/key&gt;
            &lt;dict&gt;
                &lt;key&gt;OTHER_SWIFT_FLAGS&lt;/key&gt;
                &lt;array&gt;
                    &lt;key&gt;Debug&lt;/key&gt;
                    &lt;string&gt;-DDEBUG&lt;/string&gt;
                &lt;/array&gt;
            &lt;/dict&gt;
        &lt;/dict&gt;
    &lt;/array&gt;
</code></pre>

<hr>

<p><strong>Template</strong></p>

<p><a href="https://i.stack.imgur.com/NsBDm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NsBDm.png" alt="Xcode Templates"></a></p>

<p>I want to access only debug key. Is it possible?</p>