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

前端 未结 7 1646
盖世英雄少女心
盖世英雄少女心 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

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

提交回复
热议问题