简体   繁体   English

在Xcode中向现有项目添加静态库4.无法导入标题

[英]Adding static library to existing project in Xcode 4. Unable to import header

I'm trying integrate Kal into my existing app. 我正在尝试将Kal集成到我现有的应用程序中。 I've followed this tutorial, and I'm still having issues. 我已经按照教程,我仍然遇到问题。 When I create a new view and import Kal.h, I get an error stating Kal.h is not found. 当我创建一个新视图并导入Kal.h时,我收到一条错误,指出找不到Kal.h。 I'm using Xcode 4.2. 我正在使用Xcode 4.2。 I've been searching everywhere, and I haven't found an adequate solution. 我到处搜寻,我找不到合适的解决方案。

Thanks 谢谢

You can try my blog post here. 你可以在这里试试我的博客文章

At the same time you have to add the .a file (Static Library build) into this project. 同时,您必须将.a文件(静态库构建)添加到此项目中。

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

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