mirror of
https://github.com/FluidInference/FluidAudio.git
synced 2026-05-12 20:20:36 +00:00
Fix: Move ESpeakNG.xcframework to top-level Frameworks directory (#205)
This PR moves `ESpeakNG.xcframework` from `Sources/FluidAudio/Frameworks` to a top-level `Frameworks` directory. This resolves a runtime error `Library not loaded: @rpath/ESpeakNG.framework/ESpeakNG` experienced by users when integrating FluidAudio, likely due to Xcode/SPM not correctly embedding the framework when it's nested deep within the source structure. --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -59,11 +59,6 @@ Pod::Spec.new do |spec|
|
||||
core.ios.frameworks = "CoreML", "AVFoundation", "Accelerate", "UIKit"
|
||||
|
||||
# macOS Configuration
|
||||
# ESpeakNG framework is only vendored for macOS in the podspec (not a framework limitation).
|
||||
# The xcframework supports iOS, but CocoaPods fails to link it during iOS validation.
|
||||
# This enables TTS (text-to-speech) functionality with G2P (grapheme-to-phoneme) conversion.
|
||||
# macOS builds include: ASR, Diarization, VAD, and TTS with ESpeakNG support.
|
||||
core.osx.vendored_frameworks = "Sources/FluidAudio/Frameworks/ESpeakNG.xcframework"
|
||||
core.osx.frameworks = "CoreML", "AVFoundation", "Accelerate", "Cocoa"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user