iOS - Xcode Error: cannot attach to process due to System Integrity Protection
<p>When I running an application shared extension from XCode run button and then trying to share files, XCode shows the below error frequently. Anyone have any idea whats causing it?</p>

<p><a href="https://i.stack.imgur.com/CykFv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CykFv.png" alt="enter image description here"></a></p>

<p>Error: "cannot attach to process due to System Integrity Protection"</p>