简体   繁体   English

在Three20项目中包含ShareKit

[英]Including ShareKit in Three20 project

I have tried including sharekit classes to my three 20 project. 我已经尝试将sharekit类包含到我的三个20项目中。 All share kit files are dragged into the Three20Ui.xcodeProject of three 20. It shows this error Error: 所有共享工具包文件都被拖入三个20的Three20Ui.xcodeProject 。它显示此错误错误:

[Errno 2] No such file or directory: '../facebook-three20-726841e 2/src/Three20UI/SHKOAuthSharer.m' [Errno 2]没有这样的文件或目录:'../facebook-three20-726841e 2 / src / Three20UI / SHKOAuthSharer.m'

Command /bin/sh failed with exit code 1 命令/ bin / sh失败,退出代码为1

SHKOAuthSharer.m is afile in share kit. SHKOAuthSharer.m在股票工具包中SHKOAuthSharer.m

Where am I going wrong?? 我哪里错了?

Thanks in advance.. 提前致谢..

You should never be editing the Three20 project directly unless you are altering something that cannot be done with subclassing. 您永远不应该直接编辑Three20项目,除非您正在改变子类化无法完成的事情。 Three20 should be added to your project as a subproject. 应将Three20作为子项目添加到项目中。 Then, if you want to add other things like ShareKit, you can do it by adding it to your own project, as a sibling to the Three20 subproject. 然后,如果你想添加其他东西,比如ShareKit,你可以把它添加到你自己的项目中,作为Three20子项目的兄弟。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM