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 6935965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:10:20+00:00 2026-05-27T12:10:20+00:00

Xcode (4.2.1) creates binaries based on old states of the project. For example: I

  • 0

Xcode (4.2.1) creates binaries based on old states of the project.
For example: I declared and used the property “myProperty” in the past. But later I deleted this property and deleted all the code that used that property. When I build and run the App crashes, saying “MyClass is not key value coding-compliant for the key myProperty”.
Similar things appeared in the past, not just with code. I replaced an image file in my project with another image with the same name. In the project’s folder, there was definetely the new image file. However, after build and run it still displayed the old image.
What I’ve already tried: Just Build, then run; close and reopen project; close and restart Xcode; restart Mac.
Any suggestions?

Sorry. The property still existed as references in the xib. That was the problem.

  • 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-27T12:10:21+00:00Added an answer on May 27, 2026 at 12:10 pm

    Just to clarify: This is probably one of the most frequently asked questions! When you see “MyClass is not key value coding-compliant for the key myProperty” on launch, that is a hint to you that you have an outlet with the name “myProperty” in your nib file. Okay, it’s not a very good error message, but you just have to learn that that’s what it means. It means that because when the app launches and the nib loads and the nib loading mechanism tries to match that name with a real instance variable or accessors in the living instance, using key value coding, it doesn’t find it and you get that crash and that message.

    Sometimes this happens because you formed the outlet and then later changed your code.

    Sometimes it happens because the owner object is the wrong class, as in This class is not a key value coding-compliant or What does this mean? "'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X"

    (If you really really really think Xcode is creating a binary based on the old state of the project, clean the target completely in accordance with my instructions here: How to Empty Caches and Clean All Targets Xcode 4)

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

Sidebar

Related Questions

When creating a new Xcode 4 view based project, it creates that line on
How can i setup my Xcode project so that it creates new class files
I've got an XCode iPHone project setup with the following: My App Delegate creates
When I create a new cocoa project in Xcode, it creates a MainMenu.xib file
I have created a project in xcode which creates a .a file. fine, this
I've created a new View-based Application in XCode. In the ViewController, the only code
I've created an application using the Navigation-based template in Xcode. I've also created a
I have started a project from an XCode template I have created. When I
By default Xcode creates both an .h and and an .m file when you
I'm trying to build an Xcode project with GNUStep-make. Right now the project is

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.