Embedded binary target's code sign settings match the parent app's
<p>I am getting this error when compile adhoc build for submitting or testing.</p>

<p><strong>error</strong>: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.</p>

<pre><code>    Embedded Binary Signing Certificate:    - (Ad Hoc Code Signed)
    Parent App Signing Certificate:     iPhone Distribution:------. (---------)
</code></pre>

<p>Can Anyone provide solutions for me?</p>

<p>Help will be appreciated.</p>