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

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

    I could use Core Plot as a static library and workspace sibling, with two build configurations:

    Release:

    • in project, Header Search Path: "$(BUILT_PRODUCTS_DIR)"
    • in CorePlot-CocoaTouch, Public Headers Folder Path: /usr/local/include

    AdHoc (build configuration for "Archive" step in Scheme, produces a shareable .ipa):

    • in project, Header Search Path: "$(BUILT_PRODUCTS_DIR)"/../../public_folders/**
    • in CorePlot-CocoaTouch, Public Headers Folder Path: ../../public_folders

    Hope it will help someone to not waste a day on this.

提交回复
热议问题