Swiftpack.co - DimaRU/FastDDSPrebuild as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by DimaRU.
DimaRU/FastDDSPrebuild 2.1.0
Prebuilt Fast-DDS (formerly FastRTPS) library for Apple platforms
⭐️ 0
🕓 1 week ago
.package(url: "https://github.com/DimaRU/FastDDSPrebuild.git", from: "2.1.0")

FastDDSPrebuild

Prebuilt Fast-DDS (formerly FastRTPS) library for Apple platforms.

Supported platforms and architectures

Platform Architectures
macOS x86_64 arm64
iOS arm64 armv7 armv7s
iOS Simulator x86_64 arm64
Mac Catalyst x86_64 arm64

Usage

Add line to you package.swift dependencies:

.package(name: "FastDDS", url: "https://github.com/DimaRU/FastDDSPrebuild.git", .upToNextMajor(from: "2.0.0"))


Right now used with the FastRTPSBridge library: https://github.com/DimaRU/FastRTPSBridge

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 12.2
  • github cli. GitHub’s official command line tool.
  • xczip. Create xcframework zip archive for Swift binary package.
  1. Install gh: brew install gh
  2. Install xczip: brew install DimaRU/formulae/xczip
  3. Authorize gh: gh auth
  4. Fork and clone this repo
  5. Run ./script/fastrtps_build_xctframework.sh 2.1.0 commit

GitHub

link
Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2.1.0-whitelist
1 year ago

Fast-DDS 2.1.0: iOS(armv7, armv7s, arm64), iOS Simulator(x86_64, arm64), macOS(x86_64, arm64), maccatalyst (x86_64, arm64). Remote whitelist feature.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics