07-21-2023, 10:19 PM
I had this error in **umbrella header** of a dynamic framework (mix of Swift and Objective-C). The public headers **directory had the same name** as the framework itself. Renaming it to PublicHeaders did the trick (headers are still included as ```#import <FrameworkName/Header.h>```).
My check-list for this case:
- set ```Target Membership``` = ```Public``` for umbrella header and all headers imported from it
- set ```Enable Modules (C and Objective-C)``` = ```YES```
- ensure public headers are located in a directory **which name is different from** the name of the framework
My check-list for this case:
- set ```Target Membership``` = ```Public``` for umbrella header and all headers imported from it
- set ```Enable Modules (C and Objective-C)``` = ```YES```
- ensure public headers are located in a directory **which name is different from** the name of the framework