Using TagLib in Xcode 7, Part 2
I wrote about using TagLib in an Xcode project last month, just after I thought I was ready to go with it. But as I read the TagLib documentation, I realized that my assumptions were wrong.
TagLib's C bindings expose only a very basic set of functionality. Most features, including the parts that I wanted to use, are usable only using the C++ framework directly. That means developing in Objective-C++ and giving up on some newer features in Clang and Xcode1. I wanted to keep using Swift for my project, so I am building up a wrapper Objective-C library to expose the parts that I need.
Clang does not appear to support modules that include C++. I couldn't get Xcode to recognize a modulemap for
tag.framework
, either way.↩