GithubHelp home page GithubHelp logo

Comments (3)

sbooth avatar sbooth commented on September 26, 2024

Duplicate of #196

from sfbaudioengine.

tryWabbit avatar tryWabbit commented on September 26, 2024

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)
Screenshot 2023-10-16 at 11 53 40 PM

I also have a question in discussion if you can help me with that it would be great.

Thanks

from sfbaudioengine.

sbooth avatar sbooth commented on September 26, 2024

Do you have a build phase to copy the embedded frameworks? SimplePlayer-iOS has an example.

from sfbaudioengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.