module.map创建文件
在文件中添加以下代码,
module CommonCrypto [system] {
header "/usr/include/CommonCrypto/CommonCrypto.h"
link "CommonCrypto"
export *
}桥接-头文件注册和
在module.map中注册的搜索路径和文件路径
构建执行错误..。
ld: library not found for -lCommonCrypto for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)我不知道:(请帮帮忙!)
发布于 2016-06-22 07:29:35
module CommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}https://ungacy.atlassian.net/wiki/display/IOS/Importing+CommonCrypto+in+a+Swift+framework
https://stackoverflow.com/questions/37961188
复制相似问题