Running my project in Xcode 10 throws me this error
fatal error: 'Stories-Swift.h' file not found
I've tried multiple things including:
- Adding a new swift file to the project and rebuilding it
- Setting
Defines Modules
toYes
- Double checking my
SWIFT_OBJC_INTERFACE_HEADER_NAME
and setting it to$(PROJECT_NAME)-Swift.h
I checked my derived data, and there are no traces of ProjectName-Swift.h.
Am I missing something obvious, TIA.
Incremental
toWhole Module
This showed me the actual errors in the project that prevented Xcode from creating theProjectName-Swift.h
. Once this is completed, I added a new Swift file with a class that conforms toNSObject
and@objc
and run the project. – Raynaraynah