The workspace with the iOS project and related a static library project

前端 未结 7 1648
盖世英雄少女心
盖世英雄少女心 2021-02-02 03:11

I am fighting with Xcode 4 workspaces. Currently Xcode 4 wins. Thus, my situation:

I have the workspace with the iOS app project. There is also static library project iO

相关标签:
7条回答
  • 2021-02-02 03:37

    I also found a solution that works with build and with archive.
    In your static library set the Public Headers Folder Path to ../../Headers/YourLib
    In your app config set the Header Search Paths to $(BUILT_PRODUCTS_DIR)/../../Headers

    In your app you will be able to code #import <YourLib/YourFile.h>

    Don't forget the Skip Install = YES option in your static lib.

    0 讨论(0)
提交回复
热议问题