Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Releases: SvenTiigi/SwiftKit

Version 1.2.5

12 Jun 07:58
Compare
Choose a tag to compare

Environment-Configuration

You can place a JSON environment configuration file in your home directory ~/.swiftkit-env.json to provide default values for:

Key Description
authorName The author name
authorEmail The author email address
organizationName The organization name
organizationIdentifier The organization identifier

SwiftKit will use those values and skip the corresponding console question when running swiftkit new.

{
    "authorName": "Sven Tiigi",
    "authorEmail": "[email protected]",
    "organizationName": "Sven Tiigi",
    "organizationIdentifier": "de.tiigi"   
}

Path: ~/.swiftkit-env.json

The environment config values will only be used if no argument for the corresponding value is present.

Custom SwiftKit template repository URL

If you wish to specify any custom SwiftKit repository URL to clone from pass the --repository parameter.

Long parameter Short parameter Description
--repository -r The SwiftKit template repository url 🌎
$ swiftkit new MyAwesomeKit --repository https://github.com/Custom/MyCustomSwiftKit.git

Version 1.2.4

26 May 14:35
Compare
Choose a tag to compare

GitHub issue templates

This version adds support for GitHub issue template. Your generated Kit will now include a Bug report and a Feature request GitHub issue template.

Bildschirmfoto 2019-05-26 um 16 30 40

Bug fix

This version fixes a bug where the ORGANIZATIONNAME build setting in the project.pbxproj file was not wrapped in quotation marks.

Version 1.2.3

26 May 13:36
Compare
Choose a tag to compare

CI-Service improvements

carbon

The Travis CI configuration is now available in two variants (#3)

  • Travis CI - macOS only
    • Which only uses an macOS image
  • Travis CI - macOS & Linux
    • Which runs on an macOS and Linux image

Additionally this version adds the option to pick an Azure Pipelines CI-Service configuration for your generated Kit.

Compatibility tests lane

The compatibilityTests lane will verify that your Kit is Carthage, CocoaPods and Swift Package Manager compatible.

$ fastlane ios compatibilityTests

Previously the compatibility tests were included in the tests lane

Test-Targets improvements

All Test-Targets of your generated Kit will automatically:

  • Gather Code Coverage
  • Execute in random order
  • Execute parallel

Version 1.2.2

14 May 19:44
Compare
Choose a tag to compare

Target selection

In default SwiftKit will create a Kit that supports iOS, tvOS, watchOS, macOS. If you want to support only certain Targets simply run:

$ swiftkit new MyAwesomeKit --target iOS --target tvOS

This will create a Kit which only supports iOS and tvOS

Improved Template

Improved template files Package.swift and Fastfile

Version 1.2.1

08 May 18:45
Compare
Choose a tag to compare

CocoaPods Availability-Check

SwiftKit will show you a warning if the entered Kit name is already taken on CocoaPods.

CocoaPodsAvailability

Template Example iOS App-Icon

Added a predefined App-Icon for the iOS Example Target

AppIcon

Version 1.2.0

02 May 16:11
Compare
Choose a tag to compare

Improved architecture

SwiftKit has been internally rewritten and is now splitted up in two targets SwiftKit and SwiftKitCLI to allow easier modification and improvements in the future.

Update check

SwiftKit will now inform you about new versions after you generated a new Kit.

Example:

swiftkit new MyAwesomeKit

...

A new version of SwiftKit is available: 1.2.0
To update SwiftKit run: swiftkit update

Update command

To update SwiftKit to the latest version simply run:

$ swiftkit update

The update command will only work if SwiftKit is installed via either Mint 🌱 or Homebrew 🍺

Author mail bugfix

Fixed a bug where the author mail was not correctly migrated

Smarter Organization-Identifier default answer

When providing a custom organization name the first word of the entered organization name will be the second part of the organization identifier inside the default answer.

Example:

🏒  What's your organization name?
(Leave empty to use: MyAwesomeKit)
> Apple Inc.

πŸ–‹  What's your organization identifier?
(Leave empty to use com.apple)
>

Version 1.1.0

30 Apr 07:37
3de1e79
Compare
Choose a tag to compare

CI-Service

This version will allow you to decide if you would like to use a CI-Service config template.
Currently Travis CI and GitLab CI are supported.

Arguments

SwiftKit now supports arguments when launched. Following arguments are supported:

Long parameter Short parameter Description
--destination -d Where the generated Kit should be saved πŸ’Ύ
--project -p The project name of your Kit 🐣
--name -n Your name πŸ‘¨β€πŸ’»
--email -e Your email address πŸ“«
--url -u The repository url 🌎
--ci-service -c The CI-Service πŸ›  (1=Travis CI, 2=GitLab CI)
--organization -o The name of your organization 🏒
--organization-identifier -i The organization identifier πŸ–‹
--force -f Generate the Kit without confirmation βœ…
--open -o Open the Xcode project after your Kit has been generated πŸ“‚

Example with all arguments set.

swiftkit new MyAwesomeKit \
		  	--project MyAwesomeKit \
			--name SvenTiigi \
			--email [email protected] \
			--url https://github.com/SvenTiigi/MyAwesomeKit \
			--ci-service 1 \
			--organization SvenTiigi \
			--organization-identifier de.tiigi \
			--force \
			--open

Version 1.0.0

28 Apr 14:00
c89a7f6
Compare
Choose a tag to compare

Initial Release

This is the first release of SwiftKit