On the simulator, all is Ok, when i make an ipa and install it on the device and then try to run the application, i got a black screen, even the splash screen is not shown. Does any one ran into the same issue?
Related
I use a custom PNG for the splash screen in my MAUI app. It works fine on all of the IOS emulators I run the app on. It works fine on the Android emulator it runs on. However, when I connect my physical Android device to my computer and deploy to it, the splash screen does not appear.
I've tried looking at the device log, but there are literally thousands of entries in there which make it problematic for troubleshooting. What are the recommended debugging or diagnostic steps I can realistically use to track this down?
EDIT:
I managed to grab the device log entries during the splash screen loading and thought I would paste them here to see if anyone can make any more sense of what's going on. Here's a color coded version of it that I formatted in Excel:
When I run my app on the simulator, every time a white blank screen would be generated. but after I black iPhone button on the bottom to exit the app, the views will then be visible after you re-enter the app. then the app run as usual.
But the situation is different when I load it into my iPhone.
Only BLACK blank screen can be seen into the app. after I exit the app and re-enter it, still nothing can be seen, and the app would automatically exit, too.
I dunno why it would be like that as simulator just simulate the real iPhone.
Here is some information:
iOS version of my iPhone: iOS 5
XCode version: XCode 4.2
Hope someone can help me. Thanks a lot.
Make sure that your Base SDK is as high or higher than your current version. Change it in your target settings and your project settings. Also change your compiler to Apple LLVM and your debugger (under edit scheme) to LLDB.
iPhone Simulator is version 4.0 (211.1)
I know, this is a weird question for S.O., but I figured if anyone has seen this, it would be someone here.
I have a MacBook Pro with a 22" lcd attached. I run the 22" as my "main" screen with the dock and I use the MBP's display as a secondary.
I want the iPhone Simulator to run on the actual MBP's screen, so the first time I ran it and it popped up on the 22", I dragged it over to the MBP screen. But now, whenever I launch iPhone Simulator, while it does show up on the MBP screen, it's half way off the screen and I have to drag it up. Here's a screenshot: http://tinypic.com/r/2iw7m2t/4
I tried removing the simulator's .plist, which put it back on my main screen as it should, but the same thing happens when I drag it back to where I want it.
I assume this is all due to running a 22" at 1920x1080 and the MBP 13" at 1280x800, but it doesn't change the fact that it's no bueno.
Any ideas?
I was having this same problem. I closed the simulator, ran rm -f ~/Library/Preferences/com.apple.iphonesimulator.plist restarted the simulator and moved it to the position that I wanted. Closed the simulator and the values of "NSWindow Frame iPhoneSimulatorWindow.0.0.500000" had changed.
I am trying to display Default.png image when application starts. So user wont have to see that black screen. But the problem is its working fine on simulator but on device its not being loaded and black screen is being shown before app loads.
What could be problem?
Any help would be appreciated.
first delete your app from the device.
then when your app open on the xcode press on the upper bar product -> clean
make sure the image are name "Default.png"
run on your device! :)
Does it not show the Default.png at all, or just after a short period of time ?
Not at all: Try setting a new Default.png in the Organizer
After short time: When hitting build and run your app needs some time to start up, because the debugger is linking itself to your app, this causes a delay of a couple of seconds where your default.png is not displayed.
I had been fooling around with an initial splash screen but decided not to use it. But now, although I deleted Default.png from Resources, the splash screen still appears in the Simulator when I start the app.
Default.png isn't in the project folder, I close and reopen Xcode, splash screen still there. Close and reopen Simulator, splash screen still there. I remove the app from the Simulator, build, and the splash screen is still there.
Any ideas?
Try "Clean All Targets" before rebuilding