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

  • SEARCH
  • Home
  • 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 5947717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:00:14+00:00 2026-05-22T17:00:14+00:00

My app started crashing lately I need some help to figure it out why.

  • 0

My app started crashing lately I need some help to figure it out why.

In the app delegate I create a navigation controller

UINavigationController *localNavigationController;
tabBarController = [[UITabBarController alloc] init];
NSMutableArray *localControllersArray = [[NSMutableArray alloc] initWithCapacity:3];

And then load into 3 controllers (1 shown)

SecondViewController *secondViewController;
secondViewController = [[SecondViewController alloc] initWithTabBar];
localNavigationController = [[UINavigationController alloc] 

[initWithRootViewController:secondViewController];

[localControllersArray addObject:localNavigationController];
[localNavigationController release];
[secondViewController release];

One of the view has a button that calls an action that pushes a new view

Ref *third = [[Ref alloc] initWithNibName:@"Fourthview" bundle:nil];

so far so good. I have updated an older xib that now I want to use but the app is crashes as soon as it pushed

Sup *third = [[Sup alloc] initWithNibName:@"Fifthview" bundle:nil];

If I go to IB and disconnect all UILabel Outlet it will work. But connecting for example pName will crash

Here’s the error

‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pName.’

thanks

  • 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-05-22T17:00:14+00:00Added an answer on May 22, 2026 at 5:00 pm

    The class Sup, which is being used to load the Fifthview XIB, must have either a property or an ivar named pName. This is probably due to an IBOutlet in the XIB that connects a pName property to File’s Owner.

    The XIB loading process is attempting to use KVC to connect all of the IBOutlets defined in the XIB, which in practice means it’s calling -[setValue:forKey:] where the key is equal to @"pName". If you already have a pName property declared in Sup, make sure you also have @synthesize pName; somewhere in the implementation in Sup.m.

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

Sidebar

Related Questions

How can i find out if a C# App has been started from the
I started a grails application by grails create-app. For modularity, I feel like it
I'm developing an iOS5 App using ARC, and I started to get some random
I'm writing an iPhone application using Monotouch and recently the app has started crashing
I need to do the following: when app is started it runs an activity
My app started crashing after long time in background right when I launch it
Somewhere along the line, my app started crashing on the iPad though it still
I need to show a Dialog box, from an app started via an alternate
My iPhone app started logging this error: lo->hi recycling invariant violated! followed by: Program
I am working on an existing ASP.NET MVC app that started small and has

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.