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
Uh oh!
There was an error while loading. Please reload this page.
-
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,SourcesandTestsfolders in root, exactly like an SPM Package.Appfolder 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.swiftone level - which might require edits to the Xcode project file which referencesExampleApp.entitlements), deleteContentView.swift*App.swiftfile with theSwiftUI.Appto be using theAppFeatureWould 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
.xcconfigfiles, e.g.dev.xcconfig,alpha.xcconfig,beta.xcconfig,release.xcconfigfor 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
ToBeChangedstring:using simple find replace?
And one could generate an Xcodeproj using
XcodeGenmaybe?What do you guys think?
Beta Was this translation helpful? Give feedback.
All reactions