MacOS compatibility issue

Ok I found the issue. I used the validator and it failed to load with the following error:

Library not loaded: /System/Library/Frameworks/UniformTypeIdentifiers.framework

It found out that UniformTypeIdentifiers (macOS 11.0+) was linked somehow. Instead of manually removing it, I decided to verify if the macOS deployment target was set properly (via [SMTG] output). It turned out it wasn’t, although Xcode general info page said “10.12”!

So I added the following line before project() and now it’s loading just fine:

set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10")
1 Like