iOS app only works when installed through xcode - ios

I have an app, that install and runs fine, when being installed on device, through xcode.
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.

Related

Xcode keeps building old/cached code on device

I am developing an iOS app with react native. When I run my app on a real iOS device via Xcode, code changes are not reflected anymore. It keeps building an old code version of my app. However, as soon as I run the app in the simulator, it uses the latest code. Unfortunately, cleaning the build folder, deleting ~/Library/Developer/Xcode/DerivedData/ and removing the old app from device did not help. Does anyone know a solution?

Cannot install the app while installing an archive build

currently I'm working on a flutter project and I'm new to it. The app is working fine on android device and iOS simulator. But when I try to run the app on iOS real device I'm getting issues. I tried in two ways,
I took a direct run build to a real device, and that time it is working and app is installed on my phone. But when I open the same app after disconnecting the connection between phone and Xcode, or when open after killing the direct run, it is simply opening the app and immediately closing. And showing no errors.
And I took an archive build, using diawi.com I convert .ipa file into a link, and when I try to install the app, after showing the animation of downloading and installing the app turns to a disable look(app icon changed to grey color) and when I open the app it says, cannot install the app.
I don't know why it is happening. I tried through Automatically and manually code signing style. But in both case I'm getting this issue. But when I run a simulator there is no issue. Please help me to fix this.

React Native iOS stuck on LaunchScreen

I test my app on the iOS simulator without a problem, on Android everything is fine, but when I download the app on the iPhone, it doesn't work. It gets stuck in the LaunchScreen and suddenly closes after about 10 seconds.
I have no clue why. I already tried a possible solution that was to specify the node version on the Build Phases > Bundle React Native code and images
App on Android already released but I'm facing this issue on iOS.
Debug
Same Wifi
No VPN on
Plug in your device via USB

App work's fine when device connected to Xcode, but fails when installing ipa, on specific location

i am using Xcode 6.2(beta), facing issue i.e My app work's fine when device connected to Xcode, but fails when installing ipa, on specific location, when the app crash on specific location, i am able to get the crash location and line number using crash log (when app is installed and it get crash), so debugging on installed app is quite tedious, and why the app is running smooth when device connected to Xcode. please help or any way to make app running consistently on both way while connected to Xcode and on installing ipa.
Also i am coding in Swift 1.2
I think one of your project document file not set the target.Please check all project file target.

xcode installs app on iphone but does not run in Xcode

Ive added a new device (iPhone 5s) to test my app using xCode 5.0.2. The app installs onto the phone without running in Xcode.
When you select the play button on Xcode, the app builds successfully and installs the app. If you open the app on the iphone it works well - when you close the app on the iPhone, Xcode crashes !!!!
Its kind of working as neat way of getting the app onto a device without load time - but I need to see my logs in Xcode as the app is running on my device.
you need to make sure that you keep the device connected to the computer and thus Xcode while running the app, any NSLog you have or error you get will show up

Resources