manishmundra3 / oauthconsumer

Automatically exported from code.google.com/p/oauthconsumer
0 stars 0 forks source link

Not includable in iPhone project #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I currently can't figure out how to include the oauthconsumer framework in an 
iPhone app.

There seem to be some issues including third party frameworks and some other 
frameworks have 
released (jsonframework) have released versions which are precompiled and 
includable as additional 
SDKs for iPhone development.

Enabling iPhone development would be very nice.

Original issue reported on code.google.com by alper.cugun on 30 Aug 2008 at 3:46

GoogleCodeExporter commented 9 years ago
I also tried, and found that Apple does not allow binary user frameworks to be 
added to Xcode for iPhone 
targets. However I copied all the source code to my app and it compiles and 
runs once you change the header 
includes from <OA....h> to "OA....h".

Original comment by adrian.c...@gmail.com on 5 Sep 2008 at 4:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I see now. Thanks!

I guess this issue can be closed then.

Original comment by alper.cugun on 5 Sep 2008 at 9:55

GoogleCodeExporter commented 9 years ago
@adrian.cockcroft is correct. The iPhone does not allow binary user frameworks. 
I will add a README that 
explains this now that the NDA has been lifted.

Original comment by jon.r.cr...@gmail.com on 7 Oct 2008 at 7:56

GoogleCodeExporter commented 9 years ago
I've ported the code over so it can be used on the iPhone.  Please contact me 
if 
you'd like it to be included in the main OAuthConsumer distribution.

Original comment by cyrus.na...@gmail.com on 27 Dec 2008 at 8:12

GoogleCodeExporter commented 9 years ago
Hi Cyrus, I would be interested in details on the steps needed to port it to 
the iPhone.

Original comment by kimptoc on 24 Apr 2009 at 9:59

GoogleCodeExporter commented 9 years ago
Hi Cyrus.  I too would be interested in getting the details of the ported code 
that is compatible with the iPhone.

Original comment by jermill...@gmail.com on 30 Apr 2009 at 3:58

GoogleCodeExporter commented 9 years ago
You can see my port here: 
http://code.google.com/p/metasyntactic/source/browse/#svn/trunk/iPhoneShared/Ext
ernal/OAuth

It may no longer be necessary (since i haven't been keeping up with the 
development here).

Feel free to email me directly if you have any questions: 
cyrusn@stwing.upenn.edu

Original comment by cyrus.na...@gmail.com on 30 Apr 2009 at 5:59

GoogleCodeExporter commented 9 years ago
Hi,

Since my comment above I have it working on the iphone - I just copied the 
source
files into my iphone project, which all worked fine in the simulator.  The only
problem then was on the phone with the keychain extensions - which I just then
removed as I was not using them - but I guess they could be made to work.  
Thanks Jon.

Regards, Chris

Original comment by kimptoc on 30 Apr 2009 at 7:17

GoogleCodeExporter commented 9 years ago
I found that I also had to remove all of the test classes since they have 
dependencies on SenTestingKit, which I 
am not using (though perhaps I should be...?)

Original comment by mpelzshe...@gmail.com on 8 May 2009 at 4:59

GoogleCodeExporter commented 9 years ago
Hey fellows. i'm fairly new to iPhone development. I followed the instructions 
in the wiki, compiled fine, but 
when i run the simulator, i get the following message:

dyld: Library not loaded: 
@executable_path/../Frameworks/OAuthConsumer.framework/Versions/A/OAuthConsumer
  Referenced from: /Users/hsabri/Library/Application Support/iPhone 
Simulator/User/Applications/0FD6336E-19C5-4533-A3A3-DB358BF0223A/ID.app/ID
  Reason: image not found

Does that look familiar to anyone?

Original comment by hsa...@gmail.com on 18 May 2009 at 11:16

GoogleCodeExporter commented 9 years ago
Hi hsabri,

Looks like you have added the OAuth code as a dynamic library to your iphone 
project
- you should add the classes directly, or compile it as a static library.

HTH,
Chris

Original comment by kimptoc on 25 May 2009 at 7:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi folks, 

I'm having problems including this great looking framework in my iPhone app. I 
have followed the wiki 
instructions and compiled the framework and included it my app (had to change 
the frameworks Installation 
Directory to @executable_path/Frameworks) and added the new copy files build 
phase. It always builds 
successfully, but when I run the app I get a strange looking error for which I 
could not find an answer thus 
far:

dyld: Symbol not found: _CFXMLNodeGetInfoPtr
  Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
  Expected in: 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.
sdk/System/Library/Fra
meworks/CoreFoundation.framework/CoreFoundation

Any ideas?

Original comment by miha.hri...@gmail.com on 29 May 2009 at 10:56

GoogleCodeExporter commented 9 years ago
Ahh, have managed to resolve the issue by not including KeychainExtensions in 
the build. Great stuff!

Original comment by miha.hri...@gmail.com on 30 May 2009 at 12:26

GoogleCodeExporter commented 9 years ago
Hi,

i'm triyng to include this framework in my iPhone app. When I try to build it, 
i have
this error :

",objc_class_name_OAMutableURLRequest", referenced from:
literal-pointer@_OBJC@_cls_refs@OAMutableURLRequest in MGTwitterEngine.o
symbo(s) not found
collect2 : Id returned 1 exit status

Someone have any ideas ?

Original comment by mathieu....@gmail.com on 28 Jul 2009 at 11:55

GoogleCodeExporter commented 9 years ago
"...resolve the issue by not including KeychainExtensions in the build..."
I am getting the same error but can seem to fix it.
I removed the Bundle Identifier, is that what you meant?

Thanks

Original comment by sebastia...@gmail.com on 29 Sep 2009 at 10:53

GoogleCodeExporter commented 9 years ago
I'm having problems adding this to my project.
I create a new group under Classes called "OAuthConsumer" and add all of the 
files from the repository checkout except for the Xcode-related project files. 
When I try to compile my project I get 25 warnings and 43 errors. Most of them 
seem to have something to do with SenTestingKit. Help please?

Original comment by blaqswe...@gmail.com on 16 Sep 2010 at 5:04

GoogleCodeExporter commented 9 years ago
Hi,

There are probably better, more up-to-date libraries to use now, eg:
- the Google one - http://code.google.com/p/gtm-oauth/
- Aral's - http://aralbalkan.com/3133

Regards,
Chris

Original comment by kimptoc on 16 Sep 2010 at 6:33

GoogleCodeExporter commented 9 years ago
Oh, and of course, the new and improved Legend version:
  http://github.com/mattgemmell/MGTwitterEngine

Original comment by kimptoc on 17 Sep 2010 at 6:13

GoogleCodeExporter commented 9 years ago
Here is a sample based on the latest MGTwitterEngine - thanks to Aral:

http://github.com/aral/MGTwitterEngineDemo

Original comment by kimptoc on 2 Nov 2010 at 4:12

GoogleCodeExporter commented 9 years ago
HEllo guys, 

I added the framework adding the needed .h files as you pointed out before but 
then it seems that NSTask is not recognized,"expected specifier-qualifier-list 
before 'NSTask'", how can I fix that?

Thanks.

Original comment by maximusd...@hotmail.com on 21 Feb 2011 at 10:18