我的项目使用CMake进行构建,但在Mac上构建时会使用本地macOS版本的clang和ld。
在升级到macOS 10.15 Catalina的Xcode 11后,我无法链接,出现以下错误:ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
。
这是否与新的应用程序验签有关?是否有一种修复方法,不需要将项目放在 Xcode 中(我在 macOS 上使用 CLion 进行开发)或不需要链接自己构建的 OpenSSL?
非常感谢任何帮助。