Skip to content

Installation Improvements #4

Description

@DandyLyons

I'm not sure if you consider this Package to be released already but if you do, could you please add a git tag to your main branch so that:

  1. There can be version numbering for the releases
  2. It can be marked as a release on github
  3. I can suggest to swiftpackageindex.com that they add this package to their directory. See: https://swiftpackageindex.com/add-a-package
  • This way more people will see your package, plus they will automatically compile and host DocC documentation for you for free.

Also, in the README it would be helpful if you also included how to add the dependency to a particular target within a Package.swift file:
for example:

// ...
dependencies: [
.target(
            name: "Models",
            dependencies: [
                
                    .product(name: "SwiftAndTipsMacros", package: "SwiftAndTipsMacros") // 👈🏼
            ]
        )
]

Also, Xcode 15 won't compile a Package.swift file if it depends on a macro unless you give permission to the macro. (I guess it's to protect you from macros running malicious code). But Xcode does a really bad job of showing that error, or showing the dialog box so that you can give permission. So if you have any tips for that, that would be helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions