yonaskolb / yonaskolb/XcodeGen

SwiftUI Lifecycle Not Working

Open
#1,082 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.