title: iOS app only works when installed through xcode
body: <p>I have an app, that install and runs fine, when being installed on device, through xcode.</p>
  
  <p>I can archive the project just fine without any warnings or errors, but when i try to install the .ipa file through itunes, my app starts fine, but then the screen is just black.
  The app is using the camera, and for me, without any good experience with this iOS developing, i would say, it feels like the camera is not turning on.</p>