Skip to content

Choose a tag to compare

@PankajGaikar PankajGaikar released this 16 Jan 07:58
4ff07c3

Description

This release fixes the Apple Silicon simulator compatibility issue and adds Swift Package Manager support.

Changes

1. Build Script (build-libopus.sh)

  • Build separate architectures for device and simulator
  • Use /tmp for build to avoid permission issues
  • Create proper frameworks before bundling into XCFramework
  • Update to SDK 26.0 and fix deprecated -Ofast flag

2. XCFramework (dependencies/opus.xcframework)

  • New XCFramework with proper architecture separation
  • Supports both Apple Silicon and Intel Mac simulators

3. Swift Package Manager (Package.swift)

  • Added SPM support as a binary target
  • Minimum iOS 16.0 deployment target

4. CocoaPods (opus-ios.podspec)

  • Bumped version to 1.9
  • Updated to use vendored_frameworks with XCFramework
  • Removed legacy static library configuration

5. Documentation (README.md)

  • Added SPM and CocoaPods installation instructions
  • Added Swift and Objective-C usage examples
  • Added troubleshooting section
  • Updated build instructions