Where is the libOAuth.a source? - cocoa-touch

Nowadays, I'm working on an iPhone project that is using social connections such as Twitter, Facebook..
When I tried to implement Twitter+OAuth solution into my project some another parts of project such as MySpace is giving error on oAuth implementation. It seems MySpace IOS SDK used old version of oAuthConsumer project.
So, I haven't find libOAuth.a source code. If I find it I will be handle my problem.
How do I find the libOAuth.a static library source ?

try downloading it from https://github.com/bengottlieb/Twitter-OAuth-iPhone/blob/master/Twitter+OAuth/Libraries%20&%20Headers/libOAuth.a?raw=true

Isn't this what you're looking for? And not only do you have to include it into the project but also make sure you copy into it. Then under Build Phases, you will have to add this to Link Binary to Libraries section.

You might find Google's new OAuth 2 library for Mac and iOS to be helpful.

Related

Integrating Google Login in Unity3d iOS

I want to integrate google login in unity so that it can be ported to almost all Operating Systems. I tried stack and unity3d forum but could not find a suitable post. Downloaded a lot of code examples but of no use.
-> I read that there's a paid plugin 'Prime31' but i don't want to pay money for it.
-> I found some code from google in .NET that can be used to authenticate users but i was unable to add that zip file into unity. It could only be opened by MonoDevelop but then also could be added. https://code.google.com/p/google-gdata/downloads/list
Also Found another plugin from gitHub but was again unable to use that.Unity GPGPlugin
I just want to give options to the users that they can either login with facebook or google account and then play the game.
I am quite new to unity so any code/hint/logic would be appreciated.
Thanks.
https://github.com/playgameservices/play-games-plugin-for-unity
As far as I can tell, this is an official Google made plugin. I use it, and it's pretty easy. Its documentation is plenty thorough. It has been updated to the new all in one GMS jar. It works for both iOS and android. If you use it with their supplied admob plugin (which in Unity works a lot like the android sdk), you'll have to delete one file (both plugins define the same class, it doesn't seem to matter which version you keep).
edit: Unity will tell you which class has been duplicated.

objective-c static library intellij appcode

New to objective-c. Finally found a tutorial that describes how to create and use a static library in x-code. I'm surprised that building and using libraries is such an arduous process. Is there a more efficient way to create and use static libraries?
I installed JetBrain app-code. But I can't follow the same steps since I can't figure out how to create a workspace in app-code.
Could someone please lists the steps for creating and using a static library in app-code?
Also, how can I change my build path in app-code? I tried to change the path in project properties...there is a text-box but its value keeps reverting back to the default?
I think I'm missing something, because the jet-brain products I've worked with (resharper for C#, and intell-j for Java) are very high quality.
Thanks in advance.
at this moment, AppCode doesn't have full project configuration facilities: you cannot create targets in it. This functionality will be added in the future versions.
Meanwhile, you can use Xcode to setup you project and then switch back to AppCode.
As for the build path reverting to the default, could you please file a bug report in the tracker?

how to install and getting start with webrtc on windows server

Hi could anyone to tell me how to install depot tools.I went through documentation and trying to install the webrtc in windows,I installed visual studio 2010 and some related stuff given in documentation still i am in confusion and many questions like why visual studio is required? are we have write code in visual studio?It acts like IDE for webrtc?
If not please tell me where we have to place our project in local file system and how to implement my first demo application..I found a video published by google demonstrating about webrtc in that they wrote code in a html file so is html file itself enough to develop.?
Though i have done a sample application in a html file still i am getting blank page and in console i am getting as UNCAUGHT EXCEPTION near navigator.webkitGetUserMedia() please help me out to know more about webrtc.
I suggest you start by watching the excellent videos about WebRTC from Justin Uberti and Cullen Jennings, and then (shameless self promotion) get to grips with the code and examples in Getting Started With WebRTC on HTML5 Rocks.
webrtc.org is the home of the WebRTC project -- lots of resources and demos there.
Just last month we released an open source project aimed to get developers into WebRTC fast and easy.
http://www.easyrtc.com/
It includes a cross-platform server kit which will run in Windows. Working demos are included.
I just built the webrtc solution using VS2010 by following this web pages instructions and NOT using cygwin. I had but one issue which to resolve required the manual copying of two files into the correct folder, you will know which two files should you see the names of these files and read the error, you will then know the expected location when the build fails.
Ultimately you will get a peerconnection_server.exe and a peerconnection_client.exe by way of sample. I was able to modify them easily.
Hope this helps. Be sure to install the prerequisites and follow the instructions to the letter.
As a clarification, the webrtc C++ library is one implementation you can use for the protocol. Another is using the webrtc implementation in a (very) modern web browser, such as Firefox or Chrome. Then, you'll just need HTML + JS, as per the articles in HTML5 Rocks.

PhoneGap template-based app failing to compile AdWhirl sources

Using Xcode4.2.1, with a basic PhoneGap template based app. (I say template, but I cant find it now :( - PhoneGap is a static framework).
The app works ok on its own.
Now trying to add in AdWhirl. AdWhirl comes as source files - no library of its own, although there are libraries for the specific ad services you use.
I have added the folders to the project, but it does not seem to compile the AdWhirl sources - if amend/break the AdWhirl code, I get no compile errors.
Where I have included/imported the AdWhirl headers into my app, I had to tweak the related imports in AdWhirl files to find their dependancies - seems to be related to issue above.
I can get it compiling with that hack - but then fails to link - missing AdWhirlView, which also seems to be due to first issue - not being compiled, so not available to link.
Under build phases/compile sources, I have just 2 items: main.m and AppDelegate.m - do I need to add the AdWhirl code into here?
Here is a sample project with just the AdWhirl stuff, no PhoneGap, but still has the issue :(
Thanks in advance for any tips/pointers.
Just wanted to post the answer here that I gave on Twitter. Seems like the issue is that Xcode is unhappy with folder references. Try reimporting the AdWhirl files into your project, but tell Xcode to add groups for folders, rather than folder references. (Incidentally, if anyone knows why Xcode is choking on the folder references, I'd love to hear about it.)
Then, you'll start getting errors about ARC and missing files pertaining to the Google Ads framework. So, you'll have to add the Google Ads files to quell the errors; then, you'll want to make sure ARC is disabled in your project. If you want to use ARC, then your best bet is to repackage AdWhirl as a static library that builds without ARC, and have that as a dependency in your workspace.

Are there any good tutorials for using ShareKit?

Does anyone know of a good tutorial that is easy to understand for ShareKit? I've looked but found nothing. I'm pretty new to Xcode.
The GitHub wiki for ShareKit v2.0 has a great page titled Installing ShareKit that should help you get up and running with the latest incarnation of this project.
The source tree also has an xcodeproj file which contains sample code showing how to integrate ShareKit into your own project.
You can checkout the documentation given in http://getsharekit.com ...after you downloaded and attached to your project open config file and read the comment lines given before each methods in it...it will direct you to correct way...There is no exact tutorial for it...If u got any specific issue then ask a question here..we are ready to answer...