Add LibMMS to an iPhone Project - iphone

Can anyone help?
I compiled the LibMMS project that comes with the WunderRadio application fine as part of my other project. It has the liblibmms.a file and I added it as a dependency to the main project.
The problem is that I cannot see any off the LibMMS headers so I cannot import mms.h or mmsx.h into any .m file.
Any ideas why?

in
xCode create a new group folder and name it 'external projects'.
Right click on this folder and choose 'Add files to [your app]'
Browse to Wunderradio App and choose folders MMS and FFMPEG
click 'Add'
You have now imported the projects into your xcode project. Additional to adding the libmms to the main project you should also add the libmms.a to your framework-group.

Related

jar file not working for imports in Eclipse

I am following a tutorial from AndroidHive on how to login to Twitter from my app.
The tutorial uses the twitter4j library, so I download it from here and save the zip file to my desktop. In my project I drag the twitter4j zip file into my projects libs folder. Then I Refactor -> Rename the file from a zip to a jar (only changing the extension)
However, when I want to import the classes into my project, it does not seem to be working. I try to do
import twitter4j.Twitter;
But this option is not available. See screen grab.
Can anyone please tell me where I am going wrong with this?
Also, as per the tutorial I have also just added the twitter4j-core file to the project but still imports wont seem to work.
The tutorial clearly says "Download and Extract" That does not mean "Download and Rename". It means download the file and then Use a file compress/uncompress utility to extract the zipped files format. Search in the extracted files to find the relevant jar file and import that file.
1. Download & extract twitter4j library from twitter4j-android-2.2.6.zip (slimmed version for Android platform). Here is the direct link
If you uncompressed correctly then do the following
Right sure that the folder where you copied the twitter library shows up in the Lib path for the project. Right click on the project --> Select 'Properties' ---> Select 'Java Build Path' From the Left hand Menu ---> Select Libraries Tab. Review List of Libraries(expand if needed ) to see if the twitter jar files show up here.
If not Select 'Add Jar' browse to the Jar file. Add it. Refresh your project. Clean it and build. You should now be able to import twitter components.

how to include static library into another Project

I am using Xcode 4.2.1.
I do have a static library libSignatureLibrary.a (which is 58k in memory)!
and I Created a new project SingleViewBased and open Link Binary With Libraries click '+' added libSignatureLibrary.a which is stored at desktop i added in the application.
I open Target Dependencies Click '+' i can't see the libSignatureLibrary.a library into my project!
I don't know where i did the mistake!
Can any one give me solution to fix this issue.
Its simple,just copy this libSignatureLibrary.a physically to your project folder and from there just add it your project.It will work.

iphone project - copy and rename in xcode 4.3

I have an iphone project that is a "base" project. I want to copy this project, rename it and change a couple of files so as to create the final version of each application I want. How can I copy and rename a project in xcode 4.3+ without having any issues (like lost targets or so) ?
Click on your Project,
enter name of your project and prees enter,
it will ask,
Rename Project Content Items ?
say Rename then it will ask you for snapshot, click on Enable
and then press OK
Done !
You could also just create a new project and import only the header and code files you need.

Installing RestKit.FrameWork on ios application libRestKit.a file missing, its in RedColor?

I am trying to add/install RestKit.FramWork on ios application based on the documentaion
After Target Dependency has been configured I am trying to add Link Binary With Libraries.
if i am adding libRestKit.a this file was missing. its shows as red color.
When adding libraries in the new Xcode, you sometimes have to drag/drop the files into your project's directory in finder and restart Xcode. After you've restarted Xcode, drag/drop the files from the finder window (your project's directory) into your Xcode project explorer and check the little "add files" box. That's all I got.

Managing libraries in Xcode 4

I'm currently trying to import the facebook-ios-sdk into one of my projects.
My approach is to import my project and the project of the facebook-ios-sdk into one workspace, but my project can't find the header files of the facebook sdk. I thought that the files in one workspace will be shared isn't it? How can I import the facebook-ios-sdk to my project without copying the files directly into my project?
thanks
I hope to understand what you want. I'm using facebook-ios-sdk, and I added all files in directoctory src (.m and .h) in my project with right click, "add files to…"
Try step 3 of this answer: “lexical or preprocessor issue file not found ” in Xcode 4
3 - Create a group call "Indexing headers" in your project and drag the
headers to this group, DO NOT add to
any targets when prompted.