stream windows media content to iPhone App - ios

I am currently working on a streaming app which should receive a Windows Media Video stream. I am using libmms to encode the stream.
I took the Wunderradio as reference project. When trying to build the app I get the following error:
Undefined symbols for architecture armv7:
"_Status_SetNewStatusString", referenced from:
_report_progress in liblibmms.a(mms.o)
"_gStopFFMPEG", referenced from:
_fallback_io_read in liblibmms.a(mms.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe someone knows what it means and how to fix it?
Thanks for any kind of help and have a nice day.,
MrBr.

This error occured because of not including the dependencies of the FFMPEG library into the project.
After including it the error is gone and it builds without compiler errors.

"_Status_SetNewStatusString" is not defined in the mms.c, there's a warning about it
You can delete it, it's not used in the new versions anyway.

Related

IMFPush Bluemix not working on Swift 2.2 (i386 error)

Anyone knows how to solve this error? I can't compile my project with IMFPush library =/
ld: warning: ignoring file /Users/kersul/Develop/Grabit_iOS/Pods/IMFPush/Frameworks/IMFPush.framework/IMFPush,
missing required architecture i386 in file
/Users/kersul/Develop/Grabit_iOS/Pods/IMFPush/Frameworks/IMFPush.framework/IMFPush
(2 slices) Undefined symbols for architecture i386:
"_OBJC_CLASS_$_IMFPushClient", referenced from:
type metadata accessor for __ObjC.IMFPushClient in AppDelegate.o ld: symbol(s) not found for architecture i386 clang:
error: linker command failed with exit code 1 (use -v to see
invocation)
There are a few questions around that seem to tackle this issue.
I would first take a look at Jordan's advice here
and ensure that the framework was added to your project correctly. Additionally ensure that the framework has been linked correctly
If neither fixes the issue then also see the answer posed by Allen and check to see if your .m file is listed under your compile sources.
That said, i386 architecture is what is used by the iOS Simulator. Do be aware that the Simulator cannot replicate push functionality, so even if you are able to compile IMFPush for it, it will not function correctly.

Not able to compile the app with SDWEBIMAGE

When I try to run the app I am getting the following error
d: warning: directory not found for option '-L/Users/btmani/Desktop/MyProject/download-indicato,twitter,imageview/sewebimageview/SDWebImage-progressbar-master/Examples/../../SDWebImage-3.3.framework/Versions/A'
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ProgressBarInfo", referenced from:
objc-class-ref in DetailViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is really creating big problem to me, and I don't know how to fix it. Please suggest me how to fix this
Thanks in advance
This is a framework problem so please import ImageIO.framework. Clean your project and run it again.
if you are using SDWebImage then Update your SDWebImage framework .There are some important bug fixes for iOS 7 otherwise No Tension.

Linking libiconv on ios

I am trying to use the objective-git library for an ios application I am in the proccess of developing. I am able to get the library to compile, link, and run perfectly fine in the simulator. However, when I try to run the application on an actual iPad, I get the followign error:
Undefined symbols for architecture armv7s:
"_libiconv", referenced from:
_git_path_iconv in libObjectiveGit-iOS.a(path.c.o)
"_libiconv_close", referenced from:
_git_path_iconv_clear in libObjectiveGit-iOS.a(path.c.o)
"_libiconv_open", referenced from:
_git_path_iconv_init_precompose in libObjectiveGit-iOS.a(path.c.o)
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I believe the issue is that I am compiling the libgit2 library with a different version of iconv then the one included with ios. However, I have messed with the build script in an attempt to force it to link with the ios version, but the error persists. How should I go about properly linking the iconv library so that I can run the application on an actual device?
You need to add libiconv.tbd to 'Link Binary With Libraries' section in Build Phases.
Note: I know ObjectiveGit fixed this issue but maybe that helps to others those who are trying to use iconv in their projects.

AFNetworking Library failing in iOS 7

Using the new iOS 7 Beta and downloading the latest version of AFNetworking, I went to File>Add Files to Project, and passed in the directory AFNetworking.framework. Now I'm getting a slew of linker errors. For a sanity check, I rolled back the commit history to iOS 6 and everything compiled successfully. Here's the log:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AFHTTPClient", referenced from:
_OBJC_CLASS_$_CloudGlyphAPIClient in CloudGlyphAPIClient.o
"_OBJC_CLASS_$_AFJSONRequestOperation", referenced from:
objc-class-ref in CloudGlyphAPIClient.o
"_OBJC_METACLASS_$_AFHTTPClient", referenced from:
_OBJC_METACLASS_$_CloudGlyphAPIClient in CloudGlyphAPIClient.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do I need to wait for AFNetworking to get up-to-date with the next version of iOS or is this an architecture issue?
Thanks
AFNetworking compiles and loads fine for me on iOS 7. The easiest solution would be for you to set up CocoaPods, and include AFNetworking that way.
See this answer for instructions on making sure the file is included in your target. This answer will explain all the pieces of the error message to you.
iOS 7 is probably a red herring, but if AFNetworking was working before (you didn't say), you may want to file a bug report if your libraries got unlinked when you upgraded.

SenTestCase linker error iOS

I'm trying to write test cases for my iOS app. However, there seems to be some problem regarding SenTesting framework. I'm getting the following error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SenTestCase", referenced from:
_OBJC_CLASS_$_testSmartDiary in testSmartDiary.o
_OBJC_CLASS_$_testAddTask in testAddTask.o
_OBJC_CLASS_$_testAddContacts in testAddContacts.o
"_OBJC_METACLASS_$_SenTestCase", referenced from:
_OBJC_METACLASS_$_testSmartDiary in testSmartDiary.o
_OBJC_METACLASS_$_testAddTask in testAddTask.o
_OBJC_METACLASS_$_testAddContacts in testAddContacts.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don't know what is going wrong. I have added the SenTestingFramework. It is probably happening because I'm using two different machines to develop the same project. Do I need to specify some path? I read the solution given here: iOS: Linker errors with OCUnit integration
but it is not feasible to delete the target and add the things again every time I switch machines. Is there a permanent solution to this? Please help

Resources