title: iOS extensions with multiple targets
body: <p>In iOS 8, when we create an app extension, we have to decide which target it is attached to. The extension will have the same bundle ID's prefix as the target.</p>
  <ol>
  <li>Is there any way to change the target afterward?</li>
  <li>If my project contains 2 (or more) targets (for example one for debug/simulator, one for production/device), what's the best way to work with extensions? Do I need to create another extension and duplicate the code (very bothersome to keep the same code for both targets)?</li>
  </ol>