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

[SR-11520] swift-5.0.3-RELEASE's SwiftPM produces "error: manifest parse error(s)" on Catalina beta 9 #4660

Closed
norio-nomura opened this issue Sep 25, 2019 · 3 comments
Labels

Comments

@norio-nomura
Copy link
Contributor

Previous ID SR-11520
Radar None
Original Reporter @norio-nomura
Type Bug
Status Closed
Resolution Done
Environment

swift-5.0.3-RELEASE on macOS Catalina 10.15 Beta (19A573a)

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

Watchers: @shahmishal

md5: dd2bdbfdeac063eab61d1efcedc31edc

Issue Description:

swift-5.0.3-RELEASE's SwiftPM produces "error: manifest parse error(s)" on Catalina beta 9
Reproduced log:

$ rm -rf .build
$ xcrun --toolchain org.swift.50320190830a swift build -v
xcrun --sdk macosx --show-sdk-path
xcrun --sdk macosx --show-sdk-platform-path
xcrun --sdk macosx --find xctest
sandbox-exec -p '(version 1)
(deny default)
(import "system.sb")
(allow file-read*)
(allow process*)
(allow sysctl*)
(allow file-write*
    (regex #"^/private/var/tmp/org\.llvm\.clang.*")
    (regex #"^/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/org\.llvm\.clang.*")
    (regex #"^/private/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/C/org\.llvm\.clang.*")
)
' /Library/Developer/Toolchains/swift-5.0.3-RELEASE.xctoolchain/usr/bin/swiftc --driver-mode=swift -L /Library/Developer/Toolchains/swift-5.0.3-RELEASE.xctoolchain/usr/lib/swift/pm/4_2 -lPackageDescription -swift-version 4.2 -I /Library/Developer/Toolchains/swift-5.0.3-RELEASE.xctoolchain/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk /Users/norio/github/Base32/Package.swift -fileno 7
/Users/norio/github/Base32: error: manifest parse error(s):
<unknown>

That uses https://github.com/norio-nomura/Base32, but it happens with all projects that I tested.
That happens regardless of whether Xcode 10.3, 11.0 or 11.1 is selected.
On same mac, swift-4.2.4-RELEASE and swift-5.1-RELEASE OSS toolchains work without the issue.

@ankitspd
Copy link
Member

@shahmishal seems signing related

@shahmishal
Copy link
Member

Could you please delete the toolchain and download/reinstall the new one package from swift.org? If it reproduces please let me know. Thanks

@norio-nomura
Copy link
Contributor Author

Re-downloading and re-installing swift-5.0.3-RELEASE OSS toolchain solved this issue!
If there was a time when an installer with an incorrect signature was available for download before it was published on https://swift.org/download/#releases, I may have downloaded it at that time.
Thanks for quick response!🙂

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants