问题
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!
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
回答1:
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 :)
回答2:
Try reborn ShareKit - supported by a community.
回答3:
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. :(
回答4:
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
来源:https://stackoverflow.com/questions/5933330/sharekit-in-xcode-4-lots-of-deprecated