Reputation: 12388
I am familiar building single iOS Apps, but i stuck on sharing common code to multiple apps with a Cocoa Touch Framework.
The Header-Files of the Framework are not visible/not linkable to the consuming App Project.
What did i misunderstood?
I created a public github-Repository containing both projects to reproduce: https://github.com/itinance/testCocoaTouchFramework
Some Screenshots following:
Upvotes: 2
Views: 948
Reputation: 306
I had the same problem. I don't know how to resolve your problem from your current situation but I do know how to do it from a new project. After following the steps below you could add your code until you get the working system you wanted. If you put the project into a git repository first, you could get it working and then do a diff to see what you were doing wrong. I'd be curious to see that too.
File
-> Add
-> Target...
libTestFramework.h
Go to configuration, select "libTestFramework" and Build Phases
Compile Sources
Headers
Public
I'm writing this mostly from memory. If I've missed something then the article iOS 8 Extensions: Sharing Code with an Embedded Framework on A Tiny Fish will probably have what you need. And here are a list of mistakes you can make
Upvotes: 1