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-411] Cannot run xcode with toolchain after switching between debug & release versions #43028

Open
swift-ci opened this issue Dec 30, 2015 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-411
Radar None
Original Reporter johnlinvc (JIRA User)
Type Bug
Environment

OSX 10.11.2
Xcode 7.2(7C68)

Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug, BuildScript
Assignee None
Priority Medium

md5: 1c7333cf5ec88e4a3ca54dde91e95c76

cloned to:

  • SR-1202 Use instructions on Swift.org Do Not Work for Debug-enabled Toolchain

Issue Description:

Description

Xcode fail to verify codesign if install toolchain with debug symbols after toolchain without debug symbols.

Reproduce steps

1. Install [toolchain without symbols | https://swift.org/builds/xcode/swift-2.2-SNAPSHOT-2015-12-21-a/swift-2.2-SNAPSHOT-2015-12-21-a-osx.pkg]
2. Install [toolchain with symbols | https://swift.org/builds/xcode/swift-2.2-SNAPSHOT-2015-12-21-a/swift-2.2-SNAPSHOT-2015-12-21-a-osx-symbols.pkg]
3. Open xcode with toolchain

xcrun launch-with-toolchain /Library/Developer/Toolchains/swift-latest.xctoolchain

4. It'll show following error message

Verifying toolchain code signature...

Failed to verify signature!

Failed to launch with toolchain: a sealed resource is missing or invalid 

Workaround

Remove the latest toolchain folder then install the toolchain again.

@swift-ci
Copy link
Collaborator Author

Comment by John Lin (JIRA)

fix description formatting

@belkadan
Copy link
Contributor

belkadan commented Jan 4, 2016

@shahmishal, any ideas?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script
Projects
None yet
Development

No branches or pull requests

2 participants