Skip to content

chore: migrate DyldPrivate dependency to swift-dyld-private - #68

Merged
Mx-Iris merged 1 commit into
mainfrom
chore/migrate-swift-dyld-private-package
Apr 19, 2026
Merged

Mx-Iris merged 1 commit into
mainfrom
chore/migrate-swift-dyld-private-package

Conversation

@Mx-Iris

@Mx-Iris Mx-Iris commented Apr 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Update package URL from MxIris-Reverse-Engineering/DyldPrivate to MxIris-Reverse-Engineering/swift-dyld-private (>= 1.1.0)
  • Drop unused import DyldPrivate from MetadataProtocol.swift and MetadataAccessorTests.swift

Test plan

  • swift package update resolves swift-dyld-private 1.1.0
  • swift build succeeds with 0 errors

Update package URL from MxIris-Reverse-Engineering/DyldPrivate to
MxIris-Reverse-Engineering/swift-dyld-private (>=1.1.0) and drop
unused DyldPrivate imports from MetadataProtocol and
MetadataAccessorTests.
Copilot AI review requested due to automatic review settings April 19, 2026 03:43
@Mx-Iris
Mx-Iris merged commit 936cb24 into main Apr 19, 2026
2 checks passed
@Mx-Iris
Mx-Iris deleted the chore/migrate-swift-dyld-private-package branch April 19, 2026 03:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the DyldPrivate SwiftPM dependency to the renamed swift-dyld-private repository and cleans up now-unneeded module imports.

Changes:

  • Update DyldPrivate dependency URL and minimum version to MxIris-Reverse-Engineering/swift-dyld-private (from 1.1.0).
  • Update the package: identity used when depending on the DyldPrivate product.
  • Remove unused import DyldPrivate from one source file and one test file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Package.swift Points dependency resolution at swift-dyld-private and updates the product’s package: identity.
Sources/MachOSwiftSection/Models/Metadata/MetadataProtocol.swift Removes an unused DyldPrivate import.
Tests/MachOSwiftSectionTests/MetadataAccessorTests.swift Removes an unused DyldPrivate import from tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Package.swift
.target(.MachOSwiftSectionC),
.target(.Utilities),
.product(name: "DyldPrivate", package: "DyldPrivate"),
.product(name: "DyldPrivate", package: "swift-dyld-private"),

Copilot AI Apr 19, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DyldPrivate appears to be unused across the repository now (no remaining import DyldPrivate or symbol references). If it’s no longer required, consider removing this product dependency (and the corresponding .package entry) to keep the manifest lean and avoid carrying an unnecessary transitive dependency.

Suggested change
.product(name: "DyldPrivate", package: "swift-dyld-private"),

Copilot uses AI. Check for mistakes.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the DyldPrivate dependency to a new repository (swift-dyld-private) and version (1.1.0). It also updates the package reference in Package.swift and removes unused import statements in MetadataProtocol.swift and MetadataAccessorTests.swift. I have no feedback to provide.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants