Compiling Issue with SFBAudioEngine - iphone

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 .

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

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

Related

Error Module 'flutter_secure_storage' not found when try Product ->Build for -> Profiling

well this error occurs to me when I try to make my app in production.
The app is created with flutter and I was able to create the apk for android, but when I try to do it for ios it won't let me.
The file that I am opening is Runner.xcworkspace and the problem is the import of a flutter library, it seems to me that I have to make some kind of connection with the pods.
here is the error, I want to tell you that I do not want to run the app, but to make an installer
The error that occurs when building a release (ie. flutter build ipa) and not when running a debug build is:
/[REDACTED]/ios/Runner/GeneratedPluginRegistrant.m:48:9: fatal error: module
'flutter_secure_storage' not found
#import flutter_secure_storage;
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
For me regenerating Podfile in the following way solved the issue:
rm ios/Podfile && flutter build ios
See Closed [ios][release] GeneratedPluginRegistrant.m Module not found
#43986

clang: error no such file or directory: */Debug-iphonesimulator/MailCore/MailCore

I am using mailcore2 in my ios app from fetching my gmail account emails on my device. I have changed the ios sdkversion from 6.1 to 6.0 in the mailcore2 scripts bcz I am trying to compile and run the app using iPhone simulator 6.0 which uses ios sdkversion 6.0. Doing so I am getting the following clang error.
clang: error: no such file or directory: '/Users/shujaat/Library/Developer/Xcode/DerivedData/MyTestApp-ditognlaoajwldfliplqecnxqbfj/Build/Products/Debug-iphonesimulator/MailCore/MailCore'
While trying to compile and run my app using iphone simulator 6.1 (uses ios sdk 6.1), with no changes in the ios sdk version in the shell scripts, I am getting the following error:
/bin/sh /Users/shujaat/Documents/WemoTech/Products/WantList/sourcecode/ThirdPartyLib/MailCore2/Externals/builds/workdir/20130930192723/src/libetpan/build-mac/update.sh
configuring
running prepare-cyrus-sasl.sh
prepare sources
patching file lib/client.c
building tools
generated makemd5i386 properly
building for iPhoneOS - armv7
CONFIGURE FAILED
Command /bin/sh failed with exit code 1
These issues are driving me crazy for the last couple of days. Need your help.
Go to your main project target->"Build phases"->"Target dependencies" add mailcore2 ios
You need to read Check Adding MailCore to Your iOS Project carefully.
These issues are fixed now. I want to explain what I did to get rid of them for others facing same issues:
I made a separate project, and made mailcore2 as a part of it (didn't include the #import line in any of the project files at first). I compiled and run the project and copied the resultant mailcore 2 from it to my original project. It's compiling and running fine now.

Running on a real device (iPhone) linker error for an archive file

I'm using CorePlot in my project by adding the project file directly in the project. When I compile it for simulator it is fine, but when I try to compile it for the real device it says:
"clang: error: no such file or directory:
'/Users/t2wu/Library/Developer/Xcode/DerivedData/HRM-fqohcvzyvosuqmerfynaixyulpta/Build/Products/Debug-iphoneos/libCorePlot-CocoaTouch.a'"
What could be the problem? I'm using iPhone 4S with iOS 6 SDK with architecture set to Standard(armv7, armv7s) for both the super project and the embedded CorePlot.
In Target Project Build Setting Make Buidl Architecture Only = YES. This will solve your problem.
Clang is the compiler. Make sure you have a libCorePlot-CocoaTouch.a file in your project.

problem while installing app on iphone

H everyone
i have up graded my xcode to xcode 4 & i am trying to install a app through this xcode on to a iphone but i am getting following error & i am unable to launch the app
warning: Unable to read symbols for /var/mobile/Applications/7A08B9EA-DD46-47B4-8E0C-BF081BDB1F4B/QIA All.app/QIA All (file not found).
dyld: Library not loaded: /System/Library/Frameworks/QuickLook.framework/QuickLook
Referenced from: /var/mobile/Applications/7A08B9EA-DD46-47B4-8E0C-BF081BDB1F4B/QIA All.app/QIA All
Reason: image not found
i have following warning in my app
ld: warning: directory not found for option '-F/Developer/new xcode/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/System/Library/PrivateFrameworks'
is from this warning
how can i fix this?,,,thanx in advance
you have to check that all images and framework are included friend. may b any image is missing that is deleted from project folder .check if you get any image in red then add that image
Looks like your app is still trying to link to the 3.1.2 SDK. You need to change the SDK in the project settings to Base SDK: Latest (iOS 4.3). Also make sure to clear out any settings in the target for this value so that it inherits it properly.

SSHCore Framework can't run in iphone sdk

I have downloaded SSHCore source code which uses libssh2 library.
That code build successfully, but as i put that in my code and build it, it builds successfully but after running it gives me this error:
dyld: Library not loaded: #executable_path/../Frameworks/SSHCore.framework/Versions/A/SSHCore
Referenced from: /Users/mac04/Library/Application Support/iPhone Simulator/4.0/Applications/541D1C93-3E50-4932-841C-2D63F5F7FF10/SSH.app/SSH
Reason: image not found
If any one has used this then please help me to solve this issue.
Thanx in advance.
You can't run 3rd party frameworks on iOS.
Have you followed these instructions to turn it into a library that can be used on the iPhone?