| 平台 | 架构 |
|---|---|
| macOS | x86_64 arm64 |
| iOS | arm64 |
| iOS 模拟器 | x86_64 arm64 |
| Mac Catalyst | x86_64 arm64 |
| xrOS | arm64 |
| xrOS 模拟器 | arm64 |
向你的 package.swift 依赖项中添加一行
.package(url: "https://github.com/DimaRU/FastDDSPrebuild.git", from: "2.0.0")
目前与 FastRTPSSwift 库一起使用:https://github.com/DimaRU/FastRTPSSwift
Xcode 12 现在有一个错误,会导致静态库 .a 文件被复制到应用程序包中。 将 Run Script 添加到你的 Xcode 项目,并使用以下命令
# Remove static libs
ls -1 ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a
rm -f ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a
brew install ghbrew install DimaRU/formulae/xczipgh authgit switch script./script/fastrtps_build_xctframework.sh repo_path v2.6.7 commit