XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.66k stars 122 forks source link

Xcode 14.0.0-Beta failed its security assessment #204

Closed dennispost closed 2 years ago

dennispost commented 2 years ago

I'm getting the following error while trying to install Xcode 14.0 Beta. Removing the flag --experimental-unxip doesn't help.

Mac-mini:~ runner$ xcodes install --latest-prerelease --experimental-unxip
Updating...
Latest prerelease version available is 14.0 Beta

Downloading with aria2
(1/6) Downloading Xcode 14.0.0-Beta+14A5228q: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using experimental unxip. If you encounter any issues, remove the flag and try again
(3/6) Moving Xcode to /Applications/Xcode-14.0.0-Beta.app
(4/6) Moving Xcode archive Xcode-14.0.0-Beta+14A5228q.xip to the Trash
(5/6) Checking security assessment and code signing
Xcode 14.0.0-Beta+14A5228q failed its security assessment with the following output:

/Applications/Xcode-14.0.0-Beta.app: rejected (invalid destination for symbolic link in bundle)

It remains installed at /Applications/Xcode-14.0.0-Beta.app if you wish to use it anyways
MattKiazyk commented 2 years ago

Thanks @dennispost - Posted on Xcodes App too - https://github.com/RobotsAndPencils/XcodesApp/issues/239

Submitted a bug report feedback

FB10049201 (spctl assess fails on Xcode 14.0-Beta)

abarisain commented 2 years ago

It's in the Xcode 14 release notes:

macOS 13 may show an alert saying that Xcode is damaged in some circumstances. (94284088)
Workaround: Right-click on Xcode and choose “Open” from the menu.
dennispost commented 2 years ago

Works since beta 2