Compiling Issue with SFBAudioEngine

508 Views Asked by At

I want to play Flac files in ios and downloaded code from: SFBAudioEngine

I added frameworks for mac os and it build successfully but when I run app it crashes and gives

dyld: Library not loaded: @rpath/dumb.framework/Versions/A/dumb
Referenced from: /Users/Library/Developer/Xcode/DerivedData/SFBAudioEngine-frrtbwxsqekjtmekpdfikqaqcsso/Build/Products/Debug/SimplePlayer.app/Contents/MacOS/SimplePlayer
Reason: image not found

And When I am trying to make build for ios app It is giving error

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1

Please help me to run this app .

2

There are 2 best solutions below

1
On

It looks like the dumb framework is not being loaded. You need to make sure it's located at this path on your computer:

@rpath/dumb.framework

And make sure this file exists before running your app:

@rpath/dumb.framework/Versions/A/dumb
0
On

Just put the Frameworks folder inside the SFBAudioEngine folder. check for @rpath details