GTMBase64 is missing in iOS - ios

I have added GTMBase64.h and GTMBase64.m file into my project.
However i can't use GTMBase64 in my code.
It only show GTM_INLINE instead of GTMBase64.
Is there any framework i need to add to use GTMBase64?
Thanks for any help.

I just got solution for my own question.
Here is complete solution if you want to use GTMBase64 in your project.
First download two GTMBase64.h and GTMBase64.m file.
GTMBase64.h
GTMBase64.m
and download another file too.
GTMDefines.h
And then add these three files into your project and run it. (remove autorelease if needed).
After that , you can use GTMBase64.

Related

Error when I bind an Objective-C Package

I want to bind an Objective-C Package in my Xamarin project. I follow the step from
here.
However,the content seems incomplete.And I want to know what to do next.Any advice will help me.
Have you get two file(xxx_ApiDefinitions.cs and xxx_StructsAndEnums.cs )? Copy the code from two files to binding project.
That's not enough. The compiler will prompt a large number of errors . Such as
You have to do something. For example, use the ulong/long instead of nuint ,and annotate the code such as [Verify(MethodToProperty)] .In addition,there are some differences between iOS and Xamarin.iOS in name of Object.For example ,NSURL in OC and NSUrl in C#.You need to manually modify it.

How to check if library is used or not in an iOS app

I have an old iOS project that evolved over time in which were added many librairies.
Some of them are not longer used today.
My question is, how can I check in the iOS project which library is used or not ?
I don't think there is a way to do that. But what you can do is try removing the path of the suspected frameworks(If they all are at same path, I'd suggest you to place them separately)from the Library Search Pathsand look for errors(if any).
Hope this helps.

iOS - missing Platform Libraries

First of all, I've never worked on iOS, so this may or may not be a stupid question, I don't know :)
I have an iOS App, and I need to run it.
In the 'Project Navigator' I have a folder/package called 'Reuse and Platform Libraries'. Inside, I have another four folders but 3 of them seem like missing.
I am not sure if this is the case. I've tried googling their name but without results so I assume they are not some open source libraries.
Can someone clear this up for me? Do I need to install some XCode packages?
Thanks!
I suggest you search the folder of the project for those files, sometimes when copying a project the paths get screwed up because they were set as absolute paths and not relative paths.
If you can't find the files, it's most likely that the library is a private one used by the previous developers, and usually kept out of the project folder so they probably forgot to send it along. I'd suggest simply asking them to send the files over :).
There is also a slight chance they are not needed to run the file, in which case, just deleting them from the sidebar should make the project run.

xcode build settings for imported libraries (xcode 5)

I'm having a small issue with xcode (I'm assuming it's mostly due to being unfamiliar with xcode itself) and was hoping someone could lend me a hand.
I'm working with a group of people and we're using the GPUimage framework.
The problem is this:
For every person referencing GPUimage we get additional entries in the build settings for the xcode project.
For example build products path would be:
/Users/username/project/application_name/GPUImage-master/GPUimage.framework
I would rather it be:
/application_name/GPUImage-master/GPUimage.framework
The reason I want to fix this is because we need to package up our application and library together so that whoever wants to use it only needs to open the xcode project file to see what we've done (to mark it, school project).
Can anyone suggest what I should do or look for here?
Try adding the following to the beginning of the user path:
$(SRCROOT)/application_name/GPUImage-master/GPUimage.framework
That should instruct XCode to use the user path of whoever is using the library
Hope this helps!

Objective-C – Use library from another library

I'm using SSToolKit in my project. The SSToolKit project uses GHUnitTest. I want to use GHUnitTest in my project. Do I need to download and install GHUnitTest or can I use the one included with SSToolKit. What is the best practice to do in this situation? (my app is an iOS-app)
You can use the one bundled with SSToolKit, there is no point in downloading another library. Basically, this is the same as if you downloaded the library alone - it is just bundled with another library.
If you try to add another GHUnitTest, it will create errors (not good :D ).

Resources