I'm trying to add an SDK to my Xcode project. The SDK contains .a files and (headers) .h files. The headers are imported to my Bridging-Header file (successfully).
In the headers there is an #include <map>
When I run the project I get an
Erorr 'map' file not found
When I cmd+click on it Xcode take me to The LLVM Compiler Infrastructure.
What is going wrong here?
I'm using Xcode Version 7.2 (7C68) with Swift 2.0.
Perhaps you're including C++ files? If so you should add a .mm extension to your implementation instead of .m.
Since you're using Swift you probably need to wrap the component in a Objective-C++ wrapper before you can use it in your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With