You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I found out macOS (12.6) has a broken symbolic link on the sys (but not only on my Macs, my college also got into the same error):
🌱 Finding latest version of Sourcery
🌱 Running sourcery 1.9.0...
Using configuration file at '.sourcery.yml'
error: '/Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules' does not exist or is not readable.
'/Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules' does not exist or is not readable.
shell returned 1
A short investigation:
file /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules
/Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules: broken symbolic link to Versions/Current/Modules
ls -l /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions
total 0
drwxr-xr-x 5 root wheel 160 Aug 15 21:35 A
lrwxr-xr-x 1 root wheel 1 Sep 21 08:36 Current -> A
ls -l /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A
total 1752
-rwxr-xr-x 1 root wheel 2210384 Aug 15 21:35 Mercury
drwxr-xr-x 4 root wheel 128 Jun 2 06:22 Resources
drwxr-xr-x 3 root wheel 96 Jun 2 06:22 _CodeSignature
Does someone know about a workaround?
Versions
swift --version
swift-driver version: 1.62.8 Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
Target: x86_64-apple-macosx12.0
Xcode: Version 14.0.1 (14A400)
The text was updated successfully, but these errors were encountered:
$ swift --version
swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
Target: x86_64-apple-macosx13.0
The output of Sourcery:
$ mint run -m ../Mintfile Sourcery sourcery -v
Using configuration file at '.sourcery.yml'
Resolving configurations took 84.38642203807831
error: '/Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules' does not exist or is not readable.
'/Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Modules' does not exist or is not readable.%
The problem
My config
The output of sourcery:
As I found out macOS (12.6) has a broken symbolic link on the sys (but not only on my Macs, my college also got into the same error):
A short investigation:
Does someone know about a workaround?
Versions
Xcode: Version 14.0.1 (14A400)
The text was updated successfully, but these errors were encountered: