ShareKit in Xcode 4 - lots of deprecated
Asked Answered
D

4

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

Dday answered 9/5, 2011 at 6:29 Comment(3)
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.Malloy
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?!Dday
You could see the current ShareKit forks at github, i'm pretty sure someone already did that for youPrecautionary
P
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 :)

Precautionary answered 9/5, 2011 at 23:51 Comment(1)
Thanks Diego - all functioning well.Dday
J
0

Try reborn ShareKit - supported by a community.

Justiciable answered 23/11, 2011 at 7:26 Comment(0)
A
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. :(

Armenian answered 9/12, 2011 at 14:14 Comment(0)
F
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

Flybynight answered 13/12, 2011 at 5:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.