我正在 iPhone 中开发一个应用程序,在进行一些更改之前,模拟器工作正常。在实施更改后,当我构建应用程序但在构建它时,它说构建成功但作为模拟器的 iPhone 不可见。有什么提示吗?
控制台输出
2012-11-08 12:06:08.089 MyApp[743:f803] IT IS COMING HERE
2012-11-08 12:06:08.093 MyApp[743:f803] IT IS COMING HERE 1
2012-11-08 12:06:08.094 MyApp[743:f803] IT IS COMING HERE 2
(lldb)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSLog(@"IT IS COMING HERE");
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
NSLog(@"IT IS COMING HERE 1");
// Override point for customization after application launch.
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
NSLog(@"IT IS COMING HERE 2");
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
NSLog(@"IT IS GOING FROM HERE");
return YES;