10

I have just loaded the ShareKit files into my project (which worked nicely otherwise), and went to build and run (with no code additions as yet).

I received 11 warnings and 37 errors!

Screen grab from xcode

Is there something I'm missing here? The warnings are for deprecated functions in the SHK**** files.

Any ideas?

Using Xcode 4.

Thanks for any assistance, Kolya

Kolya Miller
  • 185
  • 4
  • 12
  • You can copy paste the text with the error, but yeah known issue. You can fix the deprecates and errors manually or drop some files from the project. – Jano May 09 '11 at 06:54
  • Thanks Jano. Unfortunately, the files with the errors are the ones I need. I guess I'll work through removing/fixing the deprecated code. Has no one done this already?! – Kolya Miller May 09 '11 at 08:23
  • You could see the current ShareKit forks at github, i'm pretty sure someone already did that for you – Diego Torres May 09 '11 at 23:46

4 Answers4

4

This fork (https://github.com/mogeneration/ShareKit) compiles/works perfectly on XCode 4/iPhone 3.2.1 Simulator, it should be good for you, besides is based on the latest oficial version :)

Sanjay Chaudhry
  • 3,181
  • 1
  • 22
  • 31
Diego Torres
  • 5,308
  • 5
  • 25
  • 29
0

Try reborn ShareKit - supported by a community.

Vilém Kurz
  • 3,401
  • 2
  • 34
  • 43
0

I'm using reborn ShareKit, but still get some warnings after adding the shareKit folder to my project. For some reason, when compiling the example project, there are no warnings at all. :(

bijan
  • 1,675
  • 18
  • 30
0

For anyone that has been having problems with ShareKit with iOS5, Facebook released their own wrapper which is way more compatible because you know, Facebook did it.

https://github.com/facebook/facebook-ios-sdk

Alex Nguyen
  • 2,820
  • 1
  • 19
  • 14