Comments (3)
Duplicate of #196
from sfbaudioengine.
Hey @sbooth Can you help me provide clear instructions on library installation?
I followed these steps
git clone https://github.com/sbooth/SFBAudioEngine.git --recurse-submodules
cd SFBAudioEngine
make -C XCFrameworks
Then I created a framework by make
and also tried make build/iOS.xcarchive
I was able to run it on simulator but on device it is crashing.
I added all the xcframeworks too (dumb, flac etc) but it is still crashing on physical device.
Library not loaded: @rpath/ogg.framework/ogg
Referenced from: <D1B7643F-7425-358F-9895-BD74227E9D3E> /private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/SFBAudioEngine.framework/SFBAudioEngine
Reason: tried: '/usr/lib/swift/ogg.framework/ogg' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/SFBAudioEngine.framework/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file), '/System/Library/Frameworks/ogg.framework/ogg' (no such file, not in dyld cache)Library not loaded: @rpath/ogg.framework/ogg
Referenced from: <2FE6CD0D-F82C-3DEF-955C-3FA3751CAE94> /private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/FLAC.framework/FLAC
Reason: tried: '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/FLAC.framework/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file)Library not loaded: @rpath/ogg.framework/ogg
Referenced from: <277D368F-B6FD-372C-9DFC-694029CB8B74> /private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/sndfile.framework/sndfile
Reason: tried: '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/sndfile.framework/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file)Library not loaded: @rpath/ogg.framework/ogg
Referenced from: <60684A8F-78BB-3476-A3C0-056912A1C5EF> /private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/vorbis.framework/vorbis
Reason: tried: '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/vorbis.framework/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file), '/private/var/containers/Bundle/Application/4AFE4E5D-A1A6-4A42-81E8-451BE9A03557/RPTools.app/Frameworks/ogg.framework/ogg' (no such file)
I also have a question in discussion if you can help me with that it would be great.
Thanks
from sfbaudioengine.
Do you have a build phase to copy the embedded frameworks? SimplePlayer-iOS has an example.
from sfbaudioengine.
Related Issues (20)
- SFBFLACDecoder - decodeIntoBuffer - not decoding all frames HOT 5
- Add .podspec for Cocoapods HOT 1
- Looping a decoder region doesn't work HOT 1
- Unable to stream MP3/WAV and possibly other formats HOT 3
- playReturningError failure HOT 6
- How to changed speed
- Importing Package HOT 2
- macOS 14+ dependencies? HOT 6
- Unable to convert some audio formats
- AudioDevice HOT 3
- Encoding .wav to .oggOpus HOT 8
- Does the pre-render callback still exist? HOT 1
- Issues queueing and dequeueing Opus tracks HOT 8
- Retain cycle in `SFBAudioPlayerNode` prevents deallocation HOT 1
- MOD files repeat endlessly HOT 4
- Replace dumb with libopenmpt for MOD decoding
- SPM can't add package HOT 1
- Unable to import CSFBAudioEngine HOT 7
- Lack of content type detection
- Package framework BUG in the background HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfbaudioengine.