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
/tmpfor build to avoid permission issues - Create proper frameworks before bundling into XCFramework
- Update to SDK 26.0 and fix deprecated
-Ofastflag
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_frameworkswith 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