The Lister app is one of Apple's only Apple Watch sample projects. It was first written to support the watchOS 1, and later updated on 9/16/15 to support watchOS 2. Because of this, there are many targets, groups, etc. that aren't consistently named, making it hard to understand what is what.
I want to create a similar project, where I have an iOS and watchOS 2 with shared code/frameworks. I'm having a hard time understanding how to set up such a project due to the complexity of the Lister app.
How should I set up my project so that I can share code between my watchOS 2 and iOS app? (Note: support for watchOS 1 is not a requirement.)
For reference, here is a list of the targets, schemes, and groups from the Lister app:
- Targets: Lister, Lister Tests, Lister Today, Lister WatchKit Extension, Lister WatchKit App, ListerKit, ListerKit Tests, Lister Watch Extension, Lister Watch App, ListerKit (watchOS), Lister (OS X), Lister Today (OS X), ListerKit (OS X), ListerKit Tests (OS X)
- Schemes: Lister, Lister Today, Lister WatchKit App, Glance - Lister WatchKit App, ListerKit, Lister Watch App, Glance - Lister Watch App, ListerKit (watchOS), Lister (OS X), Lister Today (OS X), ListerKit (OS X)
- Groups: Lister iOS App, Lister WatchKit App, Shared Lister WatchKit Code, Lister Watch App, Lister OS X App, Shared ListerKit Framework Code, Shared Lister Resources