Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertofrontado/ace0906e1268341d3011eba16f849ac7 to your computer and use it in GitHub Desktop.
Save robertofrontado/ace0906e1268341d3011eba16f849ac7 to your computer and use it in GitHub Desktop.
Project spec used to generate a modular application with unit tests
name: XcodeGenSample
options:
bundleIdPrefix: com.frontado
deploymentTarget:
iOS: 13.0
targets:
XcodeGenSample:
type: application
platform: iOS
sources:
- path: XcodeGenSample
dependencies:
- target: Authentication
- target: Profile
scheme:
testTargets:
- XcodeGenSampleTests
XcodeGenSampleTests:
type: bundle.unit-test
platform: iOS
sources:
- path: XcodeGenSampleTests
Authentication:
type: framework
platform: iOS
sources:
- path: Subprojects/Authentication
scheme:
testTargets:
- AuthenticationTests
AuthenticationTests:
type: bundle.unit-test
platform: iOS
sources:
- path: Subprojects/AuthenticationTests
Profile:
type: framework
platform: iOS
sources:
- path: Subprojects/Profile
scheme:
testTargets:
- ProfileTests
ProfileTests:
type: bundle.unit-test
platform: iOS
sources:
- path: Subprojects/ProfileTests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment