Xcode Not Immediately Recognizing New Classes (iOS) Xcode Not Immediately Recognizing New Classes (iOS) xcode xcode

Xcode Not Immediately Recognizing New Classes (iOS)


Close all your projects, open the organizer (from the window menu), make sure the correct project is selected, then opposite 'derived data' click delete.

After that, close xcode, re-open it, open your project, clean it, and everything should work okay.


Multiple Targets: Make sure your file belongs to the necessary targets!


For a new file, make sure the appropriate targets are checked.

xCode Screenshot


For an existing file, check the file inspector to verify target membership.

xCode Screenshot


Fixed, in my case when creating new methods for my class, the other class called test did not see these methods because the target was missing. Thank you