Prebuilt Eprosima Fast-DDS (formerly FastRTPS) library for Apple platforms.
Platform | Architectures |
---|---|
macOS | x86_64 arm64 |
iOS | arm64 |
iOS Simulator | x86_64 arm64 |
Mac Catalyst | x86_64 arm64 |
xrOS | arm64 |
xrOS Simulator | arm64 |
Add line to you package.swift dependencies:
.package(url: "https://github.com/DimaRU/FastDDSPrebuild.git", from: "2.0.0")
Right now used with the FastRTPSSwift library: https://github.com/DimaRU/FastRTPSSwift
Xcode 12 now has a bug that causes static library .a files to be copied into the app bundle. Add Run Script
to your Xcode project with this commands:
# Remove static libs
ls -1 ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a
rm -f ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a
- Xcode 15
- cmake 3.28
- github cli. GitHub’s official command line tool.
- xczip. Create xcframework zip archive for Swift binary package.
- Install gh:
brew install gh
- Install xczip:
brew install DimaRU/formulae/xczip
- Authorize gh:
gh auth
- Clone this repo
- Checkout script branch
git switch script
- Make your own repo
- Run
./script/fastrtps_build_xctframework.sh repo_path v2.6.7 commit