I have a Swift project for which I'm trying to import ObjC-based frameworks. The framework is located in a directory under the project's path and is referenced by the project in Xcode. It's also added to the "Link Binary with Libraries" in the project's 'Build Phases' page.
However, for some reason, I can't seem to include the framework in the Bridging-Header file. I get the following error:
BridgingHeader.h:5:9: error: 'Parse/Parse.h' file not found
#import <Parse/Parse.h>
^
<unknown>:0: error: failed to import bridging header 'BridgingHeader.h'
Things I've checked:
- The "Install Objective-C Compatibility Header" is set to "YES".
- The Header Search Paths includes the path to the frameworks.
I'm sure I'm missing something, so if anyone has any clues, that would be great.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…