Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the package manifest at '\[email protected]' cannot be accessed #780

Closed
aadog opened this issue Mar 25, 2024 · 3 comments
Closed

the package manifest at '\[email protected]' cannot be accessed #780

aadog opened this issue Mar 25, 2024 · 3 comments

Comments

@aadog
Copy link

aadog commented Mar 25, 2024

PS C:\Users\xxx\src\nmtest> swift build;./.build/debug/swtest.exe
Updating https://github.com/compnerd/swift-win32
Updated https://github.com/compnerd/swift-win32 (1.31s)
error: the package manifest at '\[email protected]' cannot be accessed (InternalError(description: "Internal error. Please file a bug at https://github.com/apple/swift-package-manager/issues with this info. symlinks not supported")) in https://github.com/compnerd/swift-win32
error: ExitCode(rawValue: 1)




// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "swtest",
    dependencies: [
        .package(url: "https://github.com/Alamofire/Alamofire", .upToNextMajor(from: "5.9.0")),
        .package(url: "https://github.com/compnerd/swift-win32", .branch("main"))
        ],
    targets: [
        // Targets are the basic building blocks of a package, defining a module or a test suite.
        // Targets can depend on other targets in this package and products from dependencies.
        .executableTarget(
            name: "swtest",dependencies: ["Alamofire"]),
    ]
)

@compnerd
Copy link
Owner

This isn't an issue with this package really, it is caused by lack of symbolic links when cloning the repository. Feel free to report this to apple/swift-package-manager (though you can also work around it by globally enabling symbolic links I believe).

@aadog
Copy link
Author

aadog commented Apr 14, 2024

@compnerd How to pass global symbolic link

@compnerd
Copy link
Owner

See the git man pages. git config --global core.symlinks true

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

No branches or pull requests

2 participants