summaryrefslogtreecommitdiff
path: root/makima/ios/project.yml
diff options
context:
space:
mode:
Diffstat (limited to 'makima/ios/project.yml')
-rw-r--r--makima/ios/project.yml35
1 files changed, 33 insertions, 2 deletions
diff --git a/makima/ios/project.yml b/makima/ios/project.yml
index 5ec3eee..2b099b4 100644
--- a/makima/ios/project.yml
+++ b/makima/ios/project.yml
@@ -20,6 +20,11 @@ settings:
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: ""
+configs:
+ Debug: debug
+ Release: release
+ Screenshots: debug
+
targets:
Makima:
type: application
@@ -45,7 +50,6 @@ targets:
ITSAppUsesNonExemptEncryption: false
NSAppTransportSecurity:
NSAllowsArbitraryLoads: false
- NSAllowsArbitraryLoadsForMedia: false
CFBundleURLTypes:
- CFBundleURLName: co.soryu.makima
CFBundleURLSchemes:
@@ -56,7 +60,10 @@ targets:
TARGETED_DEVICE_FAMILY: "1"
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: BrandAccent
- INFOPLIST_KEY_UIApplicationSceneManifest_Generation: YES
+ configs:
+ Screenshots:
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG SCREENSHOT_MODE"
+ OTHER_SWIFT_FLAGS: "-DSCREENSHOT_MODE"
MakimaTests:
type: bundle.unit-test
@@ -69,6 +76,18 @@ targets:
base:
PRODUCT_BUNDLE_IDENTIFIER: co.soryu.makima.tests
+ MakimaUITests:
+ type: bundle.ui-testing
+ platform: iOS
+ sources:
+ - path: Tests/MakimaUITests
+ dependencies:
+ - target: Makima
+ settings:
+ base:
+ PRODUCT_BUNDLE_IDENTIFIER: co.soryu.makima.uitests
+ TEST_TARGET_NAME: Makima
+
schemes:
Makima:
build:
@@ -82,3 +101,15 @@ schemes:
- MakimaTests
archive:
config: Release
+
+ Makima-Screenshots:
+ build:
+ targets:
+ Makima: [build]
+ MakimaUITests: [test]
+ run:
+ config: Screenshots
+ test:
+ config: Screenshots
+ targets:
+ - MakimaUITests