Why does Xcode not see my Cocoa Touch Framework in my project?

213 Views Asked by At

I created an Xcode project and then added a Cocoa Touch Framework target. I then drag and dropped files from another instance of Xcode with a different Cocoa Touch Framework project open.

Why doesn't Xcode see the declared identifiers in my framework?

In other words, when I embed or link the framework in a target in a project, the target cannot see the classes declared in the framework.

The other questions on stackoverflow did not help.

enter image description here

I noticed that the Target Membership settings for the swift files in the framework only has the framework checked.

enter image description here

When I check the other targets, those targets can see what's in the framework. So that solves the problem, but isn't the Target Settings for the swift files in the framework supposed to only have the framework target checked?

0

There are 0 best solutions below