Mortennn / Dozer

Hide menu bar icons on macOS
Mozilla Public License 2.0
8.26k stars 262 forks source link

Does not compile on Sonoma with M2 #188

Open parleer opened 1 year ago

parleer commented 1 year ago

Error when running make

Using swiftformat
Using swiftgen
Using swiftlint
Using xcodegen
Using carthage
Homebrew Bundle complete! 5 Brewfile dependencies now installed.
*** Checking out LaunchAtLogin at "v4.1.0"
*** Checking out MASShortcut at "2.4.0"
*** Checking out Preferences at "v2.2.1"
*** Checking out Sparkle at "1.26.0"
*** Checking out Defaults at "v4.2.2"
*** xcodebuild output can be found in /var/folders/lc/4bsmqr5n76sbgr4_9mdfv1300000gp/T/carthage-xcodebuild.icjABW.log
*** Valid cache found for Defaults, skipping build
*** Valid cache found for LaunchAtLogin, skipping build
*** Valid cache found for MASShortcut, skipping build
*** Invalid cache found for Preferences, rebuilding with all downstream dependencies
*** No cache found for Sparkle, building with all downstream dependencies
*** Downloading Sparkle binary at "1.26.0"
*** Building scheme "Preferences-Package" in Preferences.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Dozer/Carthage/Checkouts/Preferences/Preferences.xcodeproj -scheme Preferences-Package -configuration Release -derivedDataPath /Users/rparlee/Library/Caches/org.carthage.CarthageKit/DerivedData/15.0.1_15A507/Preferences/v2.2.1 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/lc/4bsmqr5n76sbgr4_9mdfv1300000gp/T/Preferences SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Dozer/Carthage/Checkouts/Preferences)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/lc/4bsmqr5n76sbgr4_9mdfv1300000gp/T/carthage-xcodebuild.icjABW.log
make: *** [build] Error 1

cat /var/folders/lc/4bsmqr5n76sbgr4_9mdfv1300000gp/T/carthage-xcodebuild.icjABW.log | grep 'error:'

clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a'; try increasing the minimum deployment target