Skip to content

[User] Invalid Manifest SwiftPM #3385

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

Closed
4 tasks done
cyrilzakka opened this issue Sep 28, 2023 · 0 comments · Fixed by #3387
Closed
4 tasks done

[User] Invalid Manifest SwiftPM #3385

cyrilzakka opened this issue Sep 28, 2023 · 0 comments · Fixed by #3387

Comments

@cyrilzakka
Copy link

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior

Package should be added without warning and project should build successfully.

Current Behavior

Trying to add https://github.com/ggerganov/llama.cpp.git as a Swift Package in a clean Xcode project leads to the following errorL

Invalid manifest (compiled with: ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/rt/5jrx9dk91r17__4r2tm3m01w0000gn/T/TemporaryDirectory.2ls5Nv/vfs.yaml", "-L", "/Applications/Xcode.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-target", "arm64-apple-macos13.0", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-swift-version", "5", "-I", "/Applications/Xcode.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-package-description-version", "5.3.0", "-Xfrontend", "-serialize-diagnostics-path", "-Xfrontend", "/Users/cyril/Library/Caches/org.swift.swiftpm/manifests/ManifestLoading/llama.cpp.dia", "/Package.swift", "-disallow-use-new-driver", "-o", "/var/folders/rt/5jrx9dk91r17__4r2tm3m01w0000gn/T/TemporaryDirectory.wgPiI1/llama.cpp-manifest"])

Environment and Context

Tried in Xcode 15 and Xcode 15 beta 8 on M1.

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 a pull request may close this issue.

1 participant