re-natal not showing the app in iOS simulator - ios

I've created an app using re-natal init and but when I run react-native run run-ios, the build does finish and the simulator opens too, but the app icon never shows up. How can I fix that?

Related

Xcode running iOS app without updated code. Ionic live reload not working

ionic cordova emulate ios -l <target>
Does not work for me. I get an error suggesting that I am targeting the wrong device even though the device I am targeting is listed as a virtual device when running the command:
ionic cordova emulate --list
When I run the app with Xcode instead it works however it does not reload my edits, even if I stop and start the app again.
*** disclaimer: this is both a quick and dirty solution to the aforementioned issues ***
Before running your app in Xcode (pressing the play button), in your project directory run the following command:
ionic cordova prepare ios
This will load your changes and update your app in Xcode before running it in your emulator so you can then debug and see your edits.
Open to suggestions if anyone has a more direct solution!
Try:
cleaning the build folder in Xcode: cmd+shift+k
In the "Device" menu of Simulator, click "Erase All Content and Settings"
Quit Xcode, simulator and whatever program you are running the emulate command in
Reboot the machine

React cli fails to run app on device, but runs from Xcode

When I run my react-native app from Xcode to my iPhone it runs successfully. When I run from react cli to my device, the app suddenly stops, without giving a specific error.

react-native app crashes when distributed

When running the app on a simulator (or on a connected iPhone), I have no trouble running the application.
However when I archive the app in xcode (build succeeds) and distribute it using either HockeyApp or Fabric, the app installs just fine, but upon opening the app, it crashes right after the splash screen.
The log-file that is being generated on the iPhone does not give any useful information
On the Fabric/HockeyApp dashboard no crashes are being registered.
Any advice on how to get a stack trace or other useful crash log?
When running the react-native app using react-native run-ios --configuration Release, I was able to reproduce the error in the simulator and fix the JS error that was somehow not appearing running in debug mode. Logs for the Simulator can be found at
~/Library/Logs/CoreSimulator

React Native - Undo the deleted app in iOS simulator

I'm building a react-native app and accidentally deleted the app from the simulator. Even after running react-native run-ios, although the simulator is starting the icon for the app is missing. How can this be brought back?
I tried searching for .app file to drag and drop into the simulator, but could not find it inside my project directory.
Just try to run the app from X-Code.
I always do react-native start and then start the app from X-Code

Cordova deploy app on iOS device

I have a app that runs in the iOS-simulator. The app is compiled with cordova 3.4. After that, I can run the app via shell by calling "cordova run iOS" as well as open the project in xCode and press the play button. Both works.
I attempted to put the app on my iOS-device (iPhone-5s, iPad-Retina). But that does work neither with console nor with xCode.
When I try to run the app on the console by "start iOS" the console freezes before the app is installed on the device. I don't get any error logs. It tried that a few times, and sometimes the app is installed, but the console freezes.
Trying to run the app with xCode I get those errors and issues:
I have the current versions of iOS, xCode and MacOS as well as a developer ID, that is requested by the cordova-console when I try to start the app on a real device. The device was set to a working-group of my apple-developer account, too. That shouldn't cause the problems.
The build-location was set to unique and xcode-default. That doesn't change anything.

Resources