Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8617467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:51:56+00:00 2026-06-12T05:51:56+00:00

After upgrading to Xcode 4.5 from 4.4, I ran the apps that I had

  • 0

After upgrading to Xcode 4.5 from 4.4, I ran the apps that I had made in v 4.4. Although the app compiles correctly, I see the following message in Output section of Debug area:

Application windows are expected to have a root view controller at the end of application launch.

Can somebody please tell me why do I see this message after upgrading? I went through some of the answers for similar question. But I have not found anything that tells me why I see this message after upgrading.

Thank you!

Edit 1:

Am I supposed to incorporate the code in AddDelegate.m. If yes, I did something similar while following a book.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

    [[NSBundle mainBundle] loadNibNamed:@"TabBarController" owner:self options:nil] 
    [self.window addSubview:rootController.view];

    [self.window makeKeyAndVisible];
    return YES;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:51:58+00:00Added an answer on June 12, 2026 at 5:51 am

    In iOS 3.x and below, you used to do this:

    [window addSubview:tabBarController.view]
    

    Since iOS 4, the canonical way is to do this:

    window.rootViewController = tabBarController;
    

    If you do not need to support iOS 2.x/3.x, then you should upgrade your code to do the latter.

    IIRC, the warning’s existed since iOS 5. It depends on the iOS version you run on, not the Xcode version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After upgrading from Firefox 3.6 to FF4 i was surprised to see that jQuery
After upgrading to 12.04, my Eclipse that I had since 11.10 has been full
I noticed after upgrading from 4.2 to 4.3.1 that there is no longer a
I have just discovered that after upgrading to the latest Xcode 3.2.2, I am
After upgrading from Xcode 4.2 to Xcode 4.3, the instruments command line tool fails
My apps start crashing after upgrading to iOS 5 with Xcode 4.2. Otherwise the
After upgrading my ASP MVC from 3 Preview to 3 Beta I see strange
I'm having major issues linking gdata to a project after upgrading from xcode 3.2.5
After upgrading my copy of xcode from 3.2.2 to 3.2.3, I am getting over
After upgrading to a newer hibernate version (guess it came with the switch from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.