Skip to content

Instantly share code, notes, and snippets.

@janodev
Created May 16, 2021
Embed
What would you like to do?
Xcodegen project
name: myproject
options:
bundleIdPrefix: com.myproject
usesTabs: false
indentWidth: 4
tabWidth: 4
createIntermediateGroups: true
deploymentTarget:
iOS: "14.5"
settings:
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
IPHONEOS_DEPLOYMENT_TARGET: 14.5
packages:
SomeDependencyDynamic:
url: git@github.com:foo/mydependency.git
from: 1.0.0
targets:
Myproject:
dependencies:
- package: SomeDependencyDynamic
platform: iOS
scheme:
testTargets:
- MyprojectTests
settings:
CURRENT_PROJECT_VERSION: 1
INFOPLIST_FILE: targets/main/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: com.myproject
PRODUCT_NAME: Myproject
sources:
- sources/main
- bundleaccessor/main
type: framework
postCompileScripts:
- script: swiftlint
name: Swiftlint
MyprojectTests:
dependencies:
- package: SomeDependencyDynamic
- target: MyProject
platform: iOS
settings:
INFOPLIST_FILE: targets/tests/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: com.myproject.tests
TEST_HOST:
sources:
- sources/tests
- bundleaccessor/tests
type: bundle.unit-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment