Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with installation #24

Closed
jvence opened this issue Sep 19, 2011 · 21 comments
Closed

Problem with installation #24

jvence opened this issue Sep 19, 2011 · 21 comments

Comments

@jvence
Copy link

jvence commented Sep 19, 2011

Followed your instructions but keep getting compilation errors:

FBRequest.m:183: error: 'SBJSON' undeclared (first use in this function)

JBSON.h & JBSON.m are located in the Facebook-ios-sdk/FBConnect/JSON sub-folder.

Any advice

@shazron
Copy link
Contributor

shazron commented Sep 19, 2011

Screenshot? The SDK might have been updated since we tested it last...

@jvence
Copy link
Author

jvence commented Sep 20, 2011

You want a screenshot of the Xcode IDE?

@soshmo
Copy link

soshmo commented Sep 20, 2011

I am getting the same error.

Thanks for your help.

@soshmo
Copy link

soshmo commented Sep 20, 2011

I have also tried reverting to the earlier facebook code, but am still getting the same errors as stated above.

@soshmo
Copy link

soshmo commented Sep 20, 2011

Here is the screenshot:

http://soshhowell.com/ioserrors.png

@shazron
Copy link
Contributor

shazron commented Sep 20, 2011

Thanks @soshmo that helps. I'm out of the office today, I will go through the steps again tomorrow and attempt to fix it.

@soshmo
Copy link

soshmo commented Sep 22, 2011

Anyone having any luck with this? I have tried this in two different computers and have not been able to get it to work.

Thanks again for your help.

@jvence
Copy link
Author

jvence commented Sep 26, 2011

No luck. Have not been able to use this plug-in

@juniorplenty
Copy link

Hate to pile on, but same here. Shazron, any luck with that fix? Worked fine for Android, but this is the only thing keeping me from publishing to iOS, I'd hate to have to go back in and re-wire again.

@juniorplenty
Copy link

Verified this occurs with the correct commit version of the Facbeook iOS SDK, as well as the latest version. Is this really the official phonegap facebook plugin? Haven't heard anything about this since 9/20, except for davejohnson updating the copyright notice.

@shazron
Copy link
Contributor

shazron commented Sep 27, 2011

This will be fixed - sorry, but I have had other pressing matters that took precedence, I'll try to fix it Tues afternoon. When I tested it last many weeks ago, it worked - but I'm sure it's a matter of missing documentation or a small tweak.

@shazron
Copy link
Contributor

shazron commented Sep 27, 2011

I just ran through the steps in the README from a new project (based off 1.0 from phonegap.com) and everything compiled fine.

There are some things that are different - for example step 7. is just getting items from www, not app/www (but this will not affect compilation errors).

The important thing to note is step 11 - it only works with the version up to commit 91f256424531030a454548693c3a6ca49ca3f35a (facebook/facebook-ios-sdk@91f2564) of the FaceBook iOS SDK. Clone the sdk, then branch off the commit.

Steps 18-19 is critical to prevent the SBJSON error as well. With PhoneGap 1.1 (upcoming) this duplicate symbol error should go away and step 19 can be removed.

@safilsunny
Copy link

Can any one give me a simple xcode porject to demonstrate it ?

@safilsunny
Copy link

No Luck Still Same problem. i reviewd each and everystep. but to Luck at this time also. Can any one give me a simple xcode porject to demonstrate it ?

@jvence
Copy link
Author

jvence commented Oct 2, 2011

Isn't it easier to just fix the plug-in so that it works with the latest version of the facebook-ios-sdk?

@safilsunny
Copy link

i tried many times but no success

@jvence
Copy link
Author

jvence commented Oct 2, 2011

@safilsunny I understand and went through the same thing until I gave up.

@safilsunny
Copy link

did you got fix ? can you help me ?

@davejohnson
Copy link

we are getting it up to date with the latest facebook ios sdk now!

@gabecoyne
Copy link

Is it compatible with the latest yet? I still can't get around the JSON, SBJSON errors...

@chinookproject
Copy link

As far as i can tell it currently works with PhoneGap 1.0.0 and not with 1.1.0.

Also, if you keep getting the JSON error, then check this post:
http://phpmyweb.net/2011/10/20/using-the-facebook-sdk-with-phonegap-1-0-0/

It helped me alot...

slachkar pushed a commit to PopSugar/phonegap-facebook-plugin that referenced this issue Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants