I am a longtime IntelliJ user who has been working for the last year or more on iOS app development using XCode. I've finally decided that I just don't want to live with XCode any more if I can avoid it. So I'm using the 30-day evaluation of AppCode to see if it will work for me.
I'm struggling a bit to understand the AppCode's features and how to best utilize them for my project. My main project setup includes:
- A library made up of a dozen or so Objective-C classes and protocols
- A set of unit test classes for the library, built on both the SenTesting and OCMock test frameworks
- A single (for now) IOS application that uses the library, presumable via a static library build of the library code
- A set of unit test classes for the iOS app
Based on my past use of IntelliJ, I had expected to set up the library and its tests as some kind of library module much like I'd set up a JAR module in IntelliJ. I'd also expect to set up the application and its tests as an application module that depends on the library module, much like I'd set up a WAR module that depends on the JAR module in IntelliJ. But after an hour or two of playing around with the project structure I'm not sure how I should best accomodate my project.
It occurred to me like I should probably create the library and the app as AppCode projects, and then add one as a linked project to another. But when I've tried that I don't see obvious ways to specify that one depends on the other, etc. I looked for documentation on the linked application feature but can find nothing useful. Are linked projects the way to go here? If so, can someone point me in the direction of documentation or some other description of how this is supposed to work?