iPhone sdk 3.2.3 upgrade Problem - iphone

I just upgraded my Mac to Snow Leopard, and installed Xcode 3.2.3.
The app I am working on ran perfectly before the upgrade.
Now, the default image appears briefly, then the screen goes black except for the status bar. Same behavior on my iPhone 4 and in the simulator, whether I target iOS 3.2 or 4.
The app is still running and I an see from traces and in the debugger that the app is running normally, and my root view controller has been loaded, but nothing but blackness on screen
Anyone seen this before?
Thanks
JK

Problem solved. I needed to add [window makeKeyAndVisible]; to my applicationDidLaunch method. Wonder why it worked before, with just the wired up XIB file???

Related

iOS Watch OS 2 with Xcode 7 Beta 4.0 AppWatch Launching App with Activity Indicator Screen Only

I am developing the iOS watchApp with WatchDevice.
I have facing issues with Running the app in the Real device.
Its keep on showing only ActivityIndicator and nothing goes ahead of this screen.even i tested with Hello world Test App.
By just putting One Static Label,but its still showing same activityIndicator.Anyone knows how to solve this issue??any thing Wrong with My Code or setup?

iPhone Simulator no longer running app at 4inch resolution

All throughout development my app has been running fine in the simulator on both the 3.5 and 4 inch screens. However, when I finally added Icons and Launch Images to the app the 4inch simulator no longer works. It runs the app in 3.5inch res with black bars at the top and bottom. It works fine running on my actual iPhone 5 so I think this is a bug with the simulator. Anyone else experienced this, and know a fix?
Regards,
Mike
You are missing the Default-568h#2x.png Launch Image, if it is included in your project make sure that it is also included in you target.

Debugging on iOS 4.3 simulator

I've been developing everything with the Xcode 4.2 on leopard, I recently installed Lion, the Lion version of Xcode 4.2, and everything turned into 5.0! The simulator, my project, everything.
Now I tried to make my project deployment target 4.3 and changed the simulator, and all I get is a black screen when my application starts, I don't even hit breakpoints on viewDidLoad.
I've had this frustrating problem before (black screen after launching the app in the simulator and no breakpoints hitting and no indication anything was happening in the Debugging console).
I sense it was a corrupted XIB file somewhere between the build products and the simulator.
Now I'm not 100% certain what fixed it for me, but I did a combination of "cleaning" the project (and even throwing away the Derived Data folder) and also deleting the app from the simulator, then restarting both Xcode and the simulator before rebuilding the app.

What could cause my app to show a blank screen on startup after upgrading to iOS 4.2.1?

My app works fine on iOS 3.3, but after I upgraded my iPhone to iOS 4.2.1, I started to see some weird behaviour.
When I start my app on the upgraded iPhone, it goes blank. I have to tap the Home button to close the app.
The problem is, the app did not crash. It just showed me a blank screen. So I don't have any crash report to track this issue down.
Has anyone seen this before? Is it an iOS 4.2-specific issue? What steps can I take to determine the cause so that I can fix my code?
The behaviour of iOS did change between iOS3 and iOS4. As a first step, try walking through your code with the debugger. Also check your application:didFinishLaunchingWithOptions: method in your main App Delegate class.
A quick search also turned up some useful info about a similar issue: App shows white screen on startup after upgrading to iOS 4.2
The link also has info on how they managed to find out what was happening.

iPhone simulator only shows a black screen after launching the app

I am moving my 3.x app to use iOS4 features like background processing, fast-app switching. I have been able to get the app running fine. But now whenever I launch the app on the simulator, it just shows a black screen. The app launches, status in XCode changes to running but nothing shows up other than the black screen.
The app runs fine on a device so I know there's nothing wrong with the code. Any idea what could be happening? I have tried reinstalling the SDK but it did not make a difference.
And yes, I have the [window makeKeyAndVisible]; line in the code. So that is not the issue. I am using application:didFinishLaunchingWithOptions: to handle the app launch.
Thanks.
I'm moving my app from 3.x to 4.x and have the same issue. Sound system is launched (music and sounds play well), but entire screen is black. It happens on 4.x simulator and device, but on 3.1.3 device everything seems well.
UPDATE: Recently i have added some window manipulations after application init:
[window center];
[window makeKeyAndVisible];
[window becomeFirstResponder];
and now it's alive =)
Some features do not work in the simulator, I know that when you try to access the iPod library in your app the simulator will just hang like this (it was this way back in 3.1 at least). Make sure you aren't using a feature that the simulator doesn't support.