https://github.com/dimaru/fastddsprebuild
Prebuilt Fast-DDS (formerly FastRTPS) library for Apple platforms
https://github.com/dimaru/fastddsprebuild
dds fastdds fastrtps rtps
Last synced: about 2 months ago
JSON representation
Prebuilt Fast-DDS (formerly FastRTPS) library for Apple platforms
- Host: GitHub
- URL: https://github.com/dimaru/fastddsprebuild
- Owner: DimaRU
- License: mit
- Created: 2020-10-28T11:28:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-12T09:00:48.000Z (11 months ago)
- Last Synced: 2025-04-17T17:21:52.970Z (2 months ago)
- Topics: dds, fastdds, fastrtps, rtps
- Language: Swift
- Homepage:
- Size: 23.4 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastDDSPrebuild
## Prebuilt Eprosima [Fast-DDS](https://github.com/eProsima/Fast-DDS) (formerly FastRTPS) library for Apple platforms.### Supported platforms and architectures
| Platform | Architectures |
|-------------------|--------------------|
| macOS | x86_64 arm64 |
| iOS | arm64 |
| iOS Simulator | x86_64 arm64 |
| Mac Catalyst | x86_64 arm64 |
| xrOS | arm64 |
| xrOS Simulator | arm64 |### Usage
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](https://github.com/DimaRU/FastRTPSSwift)
### Xcode 12 bug note!
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```
### Build your own repo from source
#### Requirements
- Xcode 15
- cmake 3.28
- [github cli](https://github.com/cli/cli). GitHub’s official command line tool.
- [xczip](https://github.com/DimaRU/xczip). Create xcframework zip archive for Swift binary package.#### Steps for build
1. Install gh: `brew install gh`
2. Install xczip: `brew install DimaRU/formulae/xczip`
3. Authorize gh: `gh auth`
4. Clone this repo
5. Checkout *script* branch `git switch script`
6. Make your own repo
5. Run `./script/fastrtps_build_xctframework.sh repo_path v2.6.7 commit`