Skip to content

Capitalize package name in Package.swift #44

Description

@sbeitzel

Description

This project's Package.swift includes the following:

let package = Package(
  name: "textual",
  platforms: [

When using Tuist, the package gets checked out with one name, but referred to in the generated workspace as another name, the difference being the letter 't' (or 'T') at the beginning of "textual" (or "Textual"). This causes a recurring build problem when using this package.

Proposed solution

Edit Package.swift so that the package name is capitalized just like it is in source code when we want to import it:

let package = Package(
  name: "Textual",
  platforms: [

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Textual version information

No response

Destination operating system

No response

Xcode version information

No response

Swift Compiler version information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions