diff --git a/CHANGELOG.md b/CHANGELOG.md index 964729b..8579c05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [1.7.0] - 2023-09-25 +### Changed +- Обновлена версия swift в .swiftformat файле до 5.9 +- Удалена генерация Assets.swift с использованием SwiftGen, теперь используется нативная генерация кода из Xcode 15 + ## [1.6.0] - 2023-08-16 ### Changed - Обновил структуру папок в Classes diff --git a/{{ cookiecutter.name }}/.swiftformat b/{{ cookiecutter.name }}/.swiftformat index ffe6c9b..ad5e01d 100644 --- a/{{ cookiecutter.name }}/.swiftformat +++ b/{{ cookiecutter.name }}/.swiftformat @@ -1,4 +1,4 @@ ---swiftversion 5.7 +--swiftversion 5.9 --header strip --exclude **/Generated --maxwidth 140 diff --git a/{{ cookiecutter.name }}/README.md b/{{ cookiecutter.name }}/README.md index 318c13a..2b79385 100644 --- a/{{ cookiecutter.name }}/README.md +++ b/{{ cookiecutter.name }}/README.md @@ -28,4 +28,4 @@ The resulted encrypted file should be committed to the repository. --- -This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 1.6.0. +This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 1.7.0. diff --git a/{{ cookiecutter.name }}/project.yml b/{{ cookiecutter.name }}/project.yml index 2f9023c..db58800 100644 --- a/{{ cookiecutter.name }}/project.yml +++ b/{{ cookiecutter.name }}/project.yml @@ -24,6 +24,7 @@ settings: INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight" INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortrait INFOPLIST_KEY_UIStatusBarStyle: UIStatusBarStyleLightContent + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: true configs: Debug: OTHER_SWIFT_FLAGS: -D DEBUG diff --git a/{{ cookiecutter.name }}/swiftgen.yml b/{{ cookiecutter.name }}/swiftgen.yml index 1d553fe..b54596d 100644 --- a/{{ cookiecutter.name }}/swiftgen.yml +++ b/{{ cookiecutter.name }}/swiftgen.yml @@ -6,11 +6,6 @@ strings: outputs: templateName: structured-swift5 output: Strings.swift -xcassets: - inputs: Assets.xcassets - outputs: - templateName: swift5 - output: Assets.swift ib: inputs: Storyboards outputs: diff --git a/{{ cookiecutter.name }}/{{ cookiecutter.name }}/Classes/Generated/Assets.swift b/{{ cookiecutter.name }}/{{ cookiecutter.name }}/Classes/Generated/Assets.swift deleted file mode 100644 index e69de29..0000000