yonaskolb / yonaskolb/XcodeGen
SwiftUI Lifecycle Not Working
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
If you create a SwiftUI project with SwiftUI Lifecycle (without AppDelegate or SceneDelegate), remove the project file, create a YAML file instead and generate the project with it, the app shows a black screen.
If you do the same steps but chose UIKit Lifecycle (i.e. with AppDelegate and SceneDelegate) the app works correctly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by generating an Xcode project from a YAML file for a SwiftUI Lifecycle app, then compare it with the working UIKit Lifecycle case. Start by tracing project generation and the generated lifecycle configuration; done means the generated SwiftUI app launches without showing a black screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100