开发者

Xcode code sharing

What is the preferred way to share code across different Xcode projects?

I'm not specifically talking about code I've written, but more so open source code found on GitHub and friends.

In most scenarios the cloned repo may only consist of a handful of files, and in some cases just a single .h and .m so using static libraries seems a little overkill. Also, I'd like to stay away from manually adding anything to these repos (like configuring a static library target) since they are likely to be updated regularly by their respective owners; remember these are clones, not forks.

I've tried playing around with Xcode's workspaces but it just ends up complaining it can't find certain header files regardless of what I put in header/user h开发者_如何学Pythoneader search paths.


Regarding shared workspaces, this post should help with search paths. Otherwise, this is a good weblog post for using GitHub with Xcode 4.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜