I'm having trouble launching my main iPhone application (while watching Stanford ITunes CS193p lectures) in the iOS simulator.
I searched for a while (both Google and SO), but so far I have not been able to find a solution. There are many similar errors, but the solutions do not seem to fix this.
In Xcode, I click run. It compiles and builds successfully, runs an iOS simulator, but it never loads into the application. Only the status bar is at the top. With a black screen.
I wrote a very simple code (following along with the lectures) and cannot overcome this problem.
To confuse more, I wrote a web cover (UIWebView) before these lectures, and it works great. But in the code there is practically no difference. All new applications that I create from scratch fail with the same black screen issue.
If I pressed the home button on the simulator and launched the application, it will be displayed. But Xcode doesn't seem to know what is going on.
Itβs as if Xcode has lost the ability to talk to iOS Simulator and suggests that it works (even if I leave the iOS simulator). I am trying to exit Xcode and it asks me to stop the tasks. Then it just freezes. So I need to force restart to exit Xcode.
I use: OSX 10.8.2 Xcode 4.5.2 iOS Simulator 6.0
CalculatorAppDelegate.h
CalculatorAppDelegate.m
#import "CalculatorAppDelegate.h" @implementation CalculatorAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions (NSDictionary *)launchOptions {
CalculatorViewController.h
CalculatorViewController.m
ios xcode ios-simulator
Matt 03 Feb '13 at 1:09 2013-02-03 01:09
source share