mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-29 21:02:09 +02:00
Replace the Go backend with the Rust workspace and route Android/iOS through UniFFI bindings. Include the migrated extension runtime, network, providers, media metadata, downloads and library operations, with version 5.0.0+147. Remove Go sources, adapters, native build selection and CI dependencies. Build Rust unconditionally and lock the iOS Rust pod using a relative path. Retain legacy source and migration evidence in a local ignored archive. Validation: Android Kotlin compile and 53 native tests; Swift Rust-branch equivalence and syntax; CocoaPods install; workflow, shell, Ruby, plist and diff checks. Reuse the preceding 100 Rust tests, fmt/Clippy and five-ABI build checkpoint; no new APK or iOS application build for this cleanup. Known follow-up: URL/URLSearchParams globals are missing from the Rust JS runtime. A controlled extension replay confirms a URL-resolution regression; this commit does not fix that runtime gap.
17 lines
710 B
Ruby
17 lines
710 B
Ruby
Pod::Spec.new do |spec|
|
|
spec.name = 'SpotiFLACBackend'
|
|
spec.version = '0.1.0'
|
|
spec.summary = 'Rust backend bindings for SpotiFLAC Mobile'
|
|
spec.homepage = 'https://github.com/spotiflacapp/SpotiFLAC-Mobile'
|
|
spec.license = { :type => 'MIT', :file => 'LICENSE' }
|
|
spec.author = { 'SpotiFLAC Mobile' => 'noreply@spotiflac.local' }
|
|
spec.source = { :path => '.' }
|
|
spec.ios.deployment_target = '16.0'
|
|
spec.swift_version = '5.0'
|
|
spec.static_framework = true
|
|
# build_rust_backend.sh stages this spec beside the generated iOS artifacts.
|
|
spec.source_files = 'SpotiFLACBackend.swift'
|
|
spec.vendored_frameworks = 'SpotiFLACBackendFFI.xcframework'
|
|
spec.frameworks = 'Security', 'CoreFoundation'
|
|
end
|