作者:mobiledu2502884633 | 来源:互联网 | 2023-08-28 20:47
Ihavetwoprojects,aCocoaapplicationandastaticclibrarywhichituses.我有两个项目,一个Cocoa应用程序和一个
I have two projects, a Cocoa application and a static c library which it uses.
我有两个项目,一个Cocoa应用程序和一个它使用的静态c库。
Then didn't in the same folder.For example:the name of c static library is libXXX.a,it in the XXXcore folder.the cocoa application in another folder that is the same level with the XXXcore folder. When I try to compile the cocoa application,I have the link error result.It is seem to change the search path in the cocoa app info(General panel).But it is not work,why?
然后没有在同一个文件夹中。例如:c静态库的名称是libXXX.a,它位于XXXcore文件夹中.cocoa应用程序位于与XXXcore文件夹相同级别的另一个文件夹中。当我尝试编译cocoa应用程序时,我有链接错误结果。它似乎改变了可可应用程序信息(常规面板)中的搜索路径。但它不起作用,为什么?
2 个解决方案