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.
I faced something similar before. Usually this happens when the file (Stories-Swift.h) is not physically located in the folder of your project but there is a reference to it in the Xcode project. Delete the reference from Xcode. Clean. Find that file (make sure its physically in your project folder) and then drag in back to Xcode. Then clean + build.