OAuthConsumer framework - iphone

I actually work on iphone project, and i want to use OAuthConsumer for the authentification.
The developer guide say
"In order to use the framework, you must first get a copy from the svn repository and compile it. Compiling the framework will automatically run all of the unit tests."
I get the svn repository but i don't understand how to compile this...
can you help me please ?
(sorry for my english...)
Thanks
ps: link to the installation guide http://code.google.com/p/oauthconsumer/wiki/UsingOAuthConsumer

you might have probably sorted this out already but in case it helps someone else...
http://code.google.com/p/oauthconsumer-iphone/
This project contains a makefile which will extract the Objective-C component of OAuthConsumer so that it is amenable for iPhone app development.
:)

Related

Errors with Alamafire SDK with XCode 6.3 and iOS 8.3

Anyone please let me know what is this all about? I am stuck since a week on this and no help from searching. I posted my query to the developer of Alamofire but still no response. Please help! I am totally confused what is wrong in the integration of Alamofire. I have followed every step and this issue is coming with XCode 6.3 as before it was running properly.
When I am adding the Framework under "Copy Frameworks", it is adding the Framework twice showing different paths but when I am Going to there location, it is taking me to the same location. Here is the screen shot.
I have also created the video for that issue. May be that can help in a better way. Please see HERE
Moreover, latest SDK contains framework for MAC OS as well but I didn't add that. I hope all the above information will help you in helping me. Thanks!
This is going to be incredibly difficult to debug without a sample project that is set up in the same manner as your actual one. If you had imported Alamofire project into your project, you wouldn't see two versions of Alamofire appear when you add it to the Copy Frameworks build phase. If you truly want to resolve this quickly, you have two options.
Option 1
Push up a sample project to Github and link it here. We can then take a look at the project and pretty quickly access what the issue is. The main reason it's so difficult here is that there are roughly 10 different things that could be the cause of the issue. Therefore, it's much faster for you to create a sample project than for us to go round-and-round (which we've already started with #Masterfego).
Option 2
Take the leap and try out CocoaPods. It is a fantastic dependency management system that will forever alleviate these annoying types of project management issues. CocoaPods itself has fantastic documentation. Also, the Alamofire README breaks down in detail how to add Alamofire to your project using CocoaPods.
Recommendation
I would highly encourage you to choose Option 2. That is definitely the fastest way forward and you won't regret moving to a more robust dependency management system. It makes managing library updates and new installations extremely simple.
If you do end up going with Option 1, then I'll take a look at your sample project and revise my answer.

How to add mailcore framework to our iphone project?

I tried to add mailcore framework to my project which is existing in my library but it's not getting added into it,can any one pls help me to solve this issue.
Thanks in advance.
One way is to use reMail. remail uses mailcore, and since its acquisition by google, is open source.
Another way is to actually build mailcore.
GETTING STARTED
The best way to start learning MailCore is by reading through
documentation intro (in index.html) and the the included example
projects. To run the example projects:
Copy MailCore.framework to your ~/Library/Frameworks folder.
In each example project, add ~/Library/Frameworks/MailCore.framework to the list of Linked
Frameworks.
Build it!
The documentation isn't as detailed as I'd like. Sorry about that! If
something isn't clear try reading the source included or contact me.
CONTACT INFO
MailCore by Matt Ronge http://www.mronge.com mronge#mronge.com
LICENSE
Licensed under BSD, see LICENSE.txt for more information.
Based on LibEtPan and work done by Dinh Viet Hoa.
From the Getting Started documentation on the project:
IPHONE USE
MailCore has an included iPhone
target, but it requires some
additional compiled binaries (OpenSSL
and CyrusSSL). I am unable to
currently provide these, however the
company Remail is offering the
binaries and a compiled copy of
MailCore for the iPhone. Contact
Remail for more information:
mailcore#remail.com
It seems like you'd need to get those before building against the iPhone target.
After reading the instructions he doesn't say to add the MailCore framework. Just the library. Try it that way.

restkit installation into xcode - is it always this complex?

Trying to use the restkit framework into my xcode project, and they have an "installation guide" at their github page (https://github.com/RestKit/RestKit, scroll down to xcode 4.2)
OK, so being a 2-weeks objective-c coming in from the Java world, please excuse me:
This guide is 10 steps, half of it i don't even understand what it is... Is it just me, or is this extremely complex, just to be able to use a third-party api?
If something goes wrong, i'll stand as much chance as a snowman in hell to understand whats going on let alone fixing it...
have you tried the visual guide? Installing-RestKit-in-Xcode-4.x
Follow the instructions under "Xcode 4.x (Git Submodule)"
https://github.com/RestKit/RestKit
Seems to be the simpler of the two to follow from a new user perspective. Although I'm not sure what's not to get in the top one? Perhaps explain where it is you're having trouble. i.e. which step of the 10/12 steps do you need assistance with?
in their documentation recommended to use cocoapods for installation: https://github.com/RestKit/RestKit/wiki/Installing-RestKit-v0.20.x-via-CocoaPods

How to add mailcore framework in iphone project

I have downloaded mailcore for ios but I'm unable to add it to my iphone project.
Any help or pointers would be welcome.
http://code.google.com/p/remail-iphone/
remail uses mailcore, and since its acquisition by google, is open source.
GETTING STARTED
The best way to start learning MailCore is by reading through
documentation intro (in index.html)
and the the included example
projects.
To run the example projects:
Copy MailCore.framework to your ~/Library/Frameworks folder.
In each example project, add ~/Library/Frameworks/MailCore.framework
to the list of Linked Frameworks.
Build it!
The documentation isn't as detailed as I'd like. Sorry about that!

How to add GData.framework in my iPhone project?

I'm just giving it a shot to learn objective C and Cocoa and play
aound with the Google APIs.
I am trying to follow the instructions on the main page to include the
framework within my application but I'm not having much luck.
Would someone be able to provide some instuctions with a bit more
detail?
I would greatly appreciate it.
I've added the GData.xcodeproj under my main application and added a
direct dependency to GData under Target->myApp
I keep getting the following error:
cd "/Users/ankushgupta/Xcode Projects/Google Test"
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-
symbols -resolve-src-symlinks /Users/ankushgupta/Xcode\ Projects/Google\
Test/build/Release/GData.framework /Users/ankushgupta/Xcode\ Projects/Google
\ Test/build/Release/Google\ Test.app/Contents/Frameworks
pbxcp: GData.framework: No such file or directory
I'm kind of lost and I really need to get this setup so I can learn
the API and do some real coding :(
Can anyone help me with this?
Thanx in advance...
You need to download the Objective-C Google API source code from
http://code.google.com/p/gdata-objectivec-client/
and compile it from the included xCode project. The included documentation explains in detail how to either link statically, include framework or reference the Google API code directly from your project.
I choose to include all the source code I need directly in my project by reference to the original Google files. Include the source files by dragging them into you xCode project.
I wouldn't recommend the Google API's for learning to program the iPhone. It would be complicating the learning process unnecessarily.