简体   繁体   English

Xcode项目找不到.a

[英]Xcode project cannot find the .a

I have made a Xcode console project and have it include another project which is having an output of a lib[name].a. 我制作了一个Xcode控制台项目,并使其包含另一个项目,该项目的输出为lib [name] .a。 I have mentioned it as Target dependencies and have also linked the binaries with it. 我已经将其称为目标依赖项,并且还已将二进制文件与其链接。 However during compilation of my console project, Xcode complains its not able to find the .a. 但是,在编译我的控制台项目期间,Xcode抱怨它无法找到.a。 I have also set it to always search user paths. 我还将其设置为始终搜索用户路径。 i have also put in User Header and Library Search Path for $(BUILT_PRODUCTS_DIR) recursive. 我还为$(BUILT_PRODUCTS_DIR)递归输入了用户标题和库搜索路径。 Any answers? 有什么答案吗?

In another thread there is something about forceload but it doesn't mention clearly where 在另一个线程中,有一些关于力负载的信息,但没有明确提到

.a不会出现在用户标题搜索路径中……对于#include "*.h"您需要更改库搜索路径,因为它是链接程序问题。

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

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