0

I am using sharekit 2.0 in my iPhone app. I have installed and followed all instruction on https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit. The application builds fine though there is a warning (not an error) as follows

ld: warning: directory not found for option '-L/Users/ilaagarwal/Downloads/Thomas/puzzle game with friends/Twitter+OAuth/Libraries & Headers'

I have made a button and on button press following action happens

- (IBAction)OnShareFacebook:(id)sender {
SHKItem *item = [SHKItem text:@"message to share"];
NSLog (@"Button Pressed");
} 

The app crashes once it tries to execute SHKitem line. If I comment that line the action executes fine with out any error. Any clue why it crashes on using SHKItem and how I can fix it.

ila
  • 920
  • 12
  • 35

1 Answers1

0

In configuration file for ShareKit I had added the keys in DefaultSHKConfigurator.m but it does not work. I had to do exactly as mentioned in the link https://github.com/ShareKit/ShareKit/wiki/Configuration and then the application was not crashing so the problem solved.

ila
  • 920
  • 12
  • 35
  • This should really be part of the question, not an answer. You can edit your question by clicking the `edit` link below the tags. – JeremyP Jun 08 '12 at 12:04
  • @JeremyP sorry was not explaining clearly , this was the solution to the problem i was facing – ila Jun 08 '12 at 12:20