I'm refactoring an app for a new version and moved all of the Model files into a separate Project, which is configured as a Framework project. This project is inside a Workspace, which has another separate project with the Views and Controllers for my app. The project with the Views & Controllers (just V&C for brevity from now on) is an iOS app.
I built the model, and then in the V&C project added the Framework under Project->General->Linked Frameworks & Libraries.
When I redesigned the UI for the new version, I instantiated objects from the Project in some of the view controllers and referred to member methods and properties there.
I have since refactored the code in the Model project and re-built it using a different API.
The V&C project, however, still seems to be trying to refer to the older project, with the older API. I know this because I get build errors in the V&C project that tell me that certain methods don't exist, even though they do exist (I can see them in the code I wrote), and sometimes asks if I want to use a different (no longer extant) property instead.
Each file which refers to the objects in the framework has
import FrameworkName
at the top of the file, underneath any UIKit or Foundation or other imports.
In the Model project using the Model Scheme, I have cleaned and then built the Project for Generic iOS device. In the project for V&C, I have removed the linked Framework under General->Linked Frameworks & Libraries, and then re-added it. I also tried dragging the framework from the project navigator for the Model into the Embedded Binaries of the V&C project. I have done a Clean in the V&C project, and each Build (for the time being, just for Generic iOS devices) shows the same errors where the view controller code shows the correct instance methods being called, but the compiler is complaining that the methods don't exist.
When I select the .framework in the Frameworks folder under the V&C project's project navigator, I see the Full Path appears to point to the correct .framework file, and the last modified time/date is correct (today, since I tried again to build against the Generic iOS device in the Model Scheme, just to make sure I hadn't forgotten to do that!).
I am obviously missing something terribly important, but after several days of Google/StackOverflow/Ray Wenderlich searches and banging my head on the desk, I can't for the life of me figure out what it might be.