Replies: 2 comments 1 reply
-
Just took a closer look at Tuist, a Tuist fixture will probably be able to power most of my ideas presented above. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I love the idea. I would prefer to not need to install Tuist or Xcodegen. Having a quick TCA Template tool is great. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today it takes a couple of minutes and some for beginners non-intuitive steps to fully bootstrap an app with the structure Isowords uses:
Package.swift
,Sources
andTests
folders in root, exactly like an SPM Package.App
folder in root, that using the dummy Package.swift "hack" in order to "break recursion" when one adds the parent folder (root) as a Local Package dependencyAssets.xcassets
,ExampleApp.entitlements
(for multi-platform apps),ExampleAppApp.swift
one level - which might require edits to the Xcode project file which referencesExampleApp.entitlements
), deleteContentView.swift
*App.swift
file with theSwiftUI.App
to be using theAppFeature
Would it not be nice to have a CLI tool to do all this? Where you input just a name of the app?
This can easily be extended with other useful functionality such as a set of common
.xcconfig
files, e.g.dev.xcconfig
,alpha.xcconfig
,beta.xcconfig
,release.xcconfig
for further decreasing the need of the horrible .xcodeproj file.This Bootstrapped app project might even ship with TCA Xcode Templates for convenience?
Either this requires a sophisticated way of modifying a newly created Package.swift - but that seems non-trivial to do - or we could just bundle the Bootstrapped project with a Package.swift which defines an AppFeature and has TCA dependency added already. And potentially just change the
ToBeChanged
string:using simple find replace?
And one could generate an Xcodeproj using
XcodeGen
maybe?What do you guys think?
Beta Was this translation helpful? Give feedback.
All reactions