From d460a5949ec4bd3ed7788844a289da5d14bd45bf Mon Sep 17 00:00:00 2001 From: Petr Chmelar Date: Tue, 23 Aug 2022 16:48:14 +0200 Subject: [PATCH] Use SwiftGen via SPM Plugin --- .../xcshareddata/xcschemes/DevStack.xcscheme | 2 +- .../xcschemes/DevStack_Alpha.xcscheme | 2 +- .../xcschemes/DevStack_Beta.xcscheme | 2 +- .../xcshareddata/swiftpm/Package.resolved | 9 ++++++++ ios/Mintfile | 1 - ios/PresentationLayer/UIToolkit/Package.swift | 11 +++++++++- .../UIToolkit/Resources/Constants/.gitkeep | 0 .../UIToolkit}/swiftgen-strings.stencil | 7 +++++-- .../UIToolkit}/swiftgen-xcassets.stencil | 5 ++++- .../UIToolkit/Sources/UIToolkit/swiftgen.yml | 21 +++++++++++++++++++ ios/scripts/swiftgen.sh | 7 ------- 11 files changed, 52 insertions(+), 15 deletions(-) delete mode 100644 ios/PresentationLayer/UIToolkit/Sources/UIToolkit/Resources/Constants/.gitkeep rename ios/{scripts => PresentationLayer/UIToolkit/Sources/UIToolkit}/swiftgen-strings.stencil (93%) rename ios/{scripts => PresentationLayer/UIToolkit/Sources/UIToolkit}/swiftgen-xcassets.stencil (98%) create mode 100644 ios/PresentationLayer/UIToolkit/Sources/UIToolkit/swiftgen.yml delete mode 100755 ios/scripts/swiftgen.sh diff --git a/ios/DevStack.xcodeproj/xcshareddata/xcschemes/DevStack.xcscheme b/ios/DevStack.xcodeproj/xcshareddata/xcschemes/DevStack.xcscheme index ed77b676..3996ff1c 100644 --- a/ios/DevStack.xcodeproj/xcshareddata/xcschemes/DevStack.xcscheme +++ b/ios/DevStack.xcodeproj/xcshareddata/xcschemes/DevStack.xcscheme @@ -26,7 +26,7 @@ ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction"> + scriptText = "cd "${PROJECT_DIR}" exec > prebuild.log 2>&1 # For debugging scripts/twine.sh scripts/sourcery.sh scripts/apollo.sh "> + scriptText = "cd "${PROJECT_DIR}" exec > prebuild.log 2>&1 # For debugging scripts/twine.sh scripts/sourcery.sh scripts/apollo.sh "> + scriptText = "cd "${PROJECT_DIR}" exec > prebuild.log 2>&1 # For debugging scripts/twine.sh scripts/sourcery.sh scripts/apollo.sh ">