ShareKit in Xcode 4 - lots of deprecated

。_饼干妹妹 提交于 2019-12-20 10:41:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!