When I build and run my app, Default.png shows up first for about 2 seconds, and then switches to the app. This happens in both the simulator and on the device. I tried deleting Default.png then cleaned all targets, but this still happened. Has this happened to anyone before?
Try to clear your simulator cache... anyways, restore simulator.
Related
I develop the app with React-Native, and it is running very well in ios simulator, but when I run it on device it responds to my click event very very slow. But the scrollview is OK.
Anyone help me?
Thanks in advance!
PS:React-Native version:0.34.0
PSS: I found out that this happens when I run app from the xcode project. And the xcode log console keeps printing many logs.
PSSS: The RAM keeps up growing!!!!
A ios simulator have a slow mode. Try cmd+t for desactivate/activate slow mode.
I found out that is caused by package "react-native-logger". I uninstall it and the app runs normally so far.
I just installed react-native and did:
react-native init AwesomeProject
I've opened the project in xcode (version 7.2), and clicked the run button. The build completed and the app launched in a simulator.
I turned on live reloading and made a simple edit to "index.ios.js", but the change did not show up. I even closed the simulator, cleaned the project, and rebuilt and relaunched it. Still, the change did not show up.
What could be causing this and how can I fix it?
Make sure the index.ios.js file you're editing is the same one running in the simulator. I know this seems obvious, but I've caught myself working on a file I thought was the file in the simulator but actually wasn't.
I updated the splash screen on my iOS application; but, the app continues to launch with the previous splash screen. When I launch the application in the simulator, it works fine.
I have a similar problem with other images as well. If I don't change the file name, sometimes the images are not being updated.
Any ideas as to why this happens and what i can do to fix it?
First uninstall the old app and then install the new build app.
I got a splash screen as Default.png this works on the simulator but when i debug my app on the ipad device itself, i get an old Default.png which does not exist anymore.
why is the splash screen different in the simulator and the device?
I have had this problem before, the way i fixed it was cleaning the project, deleting the app off of the device, turn off the device, restart it and then try again.
If that doesnt work check all your images, it could still be holding a reference to the old one somewhere.
Is it normal that when i try to test my app it crashes on launch?
I explain.
I have my app that works fine in the simulator. I wanted to try to test it on my iPod Touch 4g.
I built and run from XCode, and that's what happened: the app launches fine (it shows me a black splash screen),but then suddenly it comes back to the springboard,with no reason.
If i open up the app manually,after it crashed,it works without any problems. It happens only one time,just when i build and run,and i don't know why.
How can i do to avoid this? On simulator it works with any crashes,but when i run it over my iPod,it crashes.
Program ended with exit code: 0 // on simulator
The app is likely to be failing to run on the device as xcode is trying to attach the debugger to it but doesn't have permission to do so.
Check your entitlements.plist within your project; you probably have one that has get-task-allow set to NO. This needs to be 'YES' to allow the debugger to attach. (It does need to be 'NO' for adhoc builds though - one solution is to exclude the entitlements.plist file from the debug build.)