Swiftpack.co -  ybrid/ogg-swift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
ybrid/ogg-swift
A swift xcframework wrapper for libogg API.
.package(url: "https://github.com/ybrid/ogg-swift.git", from: "0.8.0")

ogg-swift

A Swift wrapper to use libogg api.

Intension of this project is to support audio player SDK with a platform independend XCFramework that can be integrated in Swift projects via CocoaPod.

It supports iOS devices and simulators (version 9 to 14) and macOS (versions 10.10 to 11.2).

Version

The supported version of libogg API is 1.3.4.

Integration

After integration use

import YbridOgg

in your Swift code.

if you use CocoaPods

The Cocoa Podfile of a project using this framework, should look like

platform :ios, '9.0'
target 'player-sdk-swift' do
  use_frameworks!
  source 'https://github.com/CocoaPods/Specs.git'
  pod 'YbridOgg'
end

If you use Swift Package Management

The Package.swift using this framework should look like

  ...
  dependencies: [
    .package(
      name: "YbridOgg", 
      url: "git@github.com:ybrid/ogg-swift.git",
      from: "0.8.0"),
  ...

If you don't use CocoaPods or Swift Package Managenment

If you manage packages in another way you may download YbridOgg.xcframework.zip from the latest release of this repository and embed it into your own project manually.

Unzip the file into a directory called 'Frameworks' of your XCode project. In the properties editor, drag and drop the directory into the section 'Frameworks, Libraries and Embedded Content' of the target's 'General' tab.

Contributing

You are welcome to contribute.

Licenses

This project is under MIT license. It makes use of the sources for ogg from xiph.org/downloads. Ogg is licensed under the New BSD License. See the LICENSE file.

GitHub

link
Stars: 1
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

1 week ago

CFramework wraps libogg 1.3.4 to use in Swift.

Changes:

  • Swift Package Manager support

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