ios - Xcode, static libraries and headers -
i know question has been asked several times. have read many questions , accepted answers: no 1 works me.
i have problem within these settings:
- one project lib created , compiled 'static library' ios
- one project app created empty app links against lib project
- the lib project used 'subproject' within app project.
i created second time scratch following instructions (step step) available at: apple doc - static libraries.
the project app compiles fine. linker finds static library. can use classes defined in lib when building storyboard, app cannot find single .h
file exported lib.
in previous attempt modified of variables found in previous questions , answers (srcroot, etc.) none worked.
so question: there found way find headers starting instructions provided apple themselves?
if not loosing days finding stupid header files, consider hilarious such simple task (for apple wrote 2 pages of documentation) hard do.
i using xcode 5.1.1 on os x 10.9.2.
i have created zipped tar archive containing 2 xcode projects (a static library , app) mimics described above. 2 projects can downloaded following address: http://www.freefilehosting.net/teststaticlib.
the projects have been created according apple instructions using static libraries subprojects.
make sure library present in "target dependencies" in addition "link binary libraries".
Comments
Post a Comment