About-This-Hack: App crashes in High Sierra
This crash report is from a real iMac11,3 running macOS 10.13.6 (it’s running fine in Big Sur). Seems like libswiftAppKit.dylib is too old:
Process: About This Hack [678]
Path: /Volumes/VOLUME/*/About This Hack.app/Contents/MacOS/About This Hack
Identifier: app.netlify.0xCUBE.About-This-Hack
Version: 0.9.0 (420)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: About This Hack [678]
User ID: 501
Date/Time: 2023-07-28 06:32:06.072 +0200
OS Version: Mac OS X 10.13.6 (17G66)
Report Version: 12
Anonymous UUID: 61778F82-26A3-C28D-90A6-2CCE27D00115
Time Awake Since Boot: 610 seconds
System Integrity Protection: enabled
Notes: Translocated Process
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x3] Wrong version
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/libswiftAppKit.dylib
Referenced from: /Volumes/VOLUME/*/About This Hack.app/Contents/MacOS/About This Hack
Reason: Incompatible library version: About This Hack requires version 45.0.0 or later, but libswiftAppKit.dylib provides version 1.0.0
Binary Images:
0x100760000 - 0x100777ff7 +app.netlify.0xCUBE.About-This-Hack (0.9.0 - 420) <6B8459C2-5BC8-345B-B025-B6286BEA94C9> /var/folders/*/About This Hack.app/Contents/MacOS/About This Hack
0x100793000 - 0x1007d6fff +org.sparkle-project.Sparkle (2.4.2 - 2028) <0ABECD2E-F811-39FC-872C-B0158ED17F93> /var/folders/*/About This Hack.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle
0x1007fe000 - 0x100b6ffff +libswiftCore.dylib (5.0.1 - 1001.0.82.4) <44D65143-94D5-306A-8D56-15359A7FF04E> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftCore.dylib
0x100e50000 - 0x100e53fff +libswiftCoreFoundation.dylib (5.0.1 - 1001.0.82.4) <C0D551D8-F4D4-3B6F-8148-05EE1CFFC97F> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftCoreFoundation.dylib
0x100e5d000 - 0x100e62ffb +libswiftCoreImage.dylib (5.0.1 - 1001.0.82.4) <E2D50227-8FAE-3104-88F0-6D8E01A9AB18> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftCoreImage.dylib
0x100e6d000 - 0x100e74ff7 +libswiftDarwin.dylib (5.0.1 - 1001.0.82.4) <144DA4C8-8322-3E6E-942D-9976CAFA8BAE> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftDarwin.dylib
0x100e8c000 - 0x100ea4ff7 +libswiftDispatch.dylib (5.0.1 - 1001.0.82.4) <0A4818EF-BCD8-3183-9D34-5F8D4920C05C> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftDispatch.dylib
0x100ee8000 - 0x100eebff3 +libswiftIOKit.dylib (5.0.1 - 1001.0.82.4) <75FE0421-8424-38AD-9372-17A730C44643> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftIOKit.dylib
0x100efc000 - 0x100f05fff +libswiftMetal.dylib (5.0.1 - 1001.0.82.4) <A2ACD465-EF03-3F27-B6F9-390A6D66A040> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftMetal.dylib
0x100f14000 - 0x100f18ff7 +libswiftObjectiveC.dylib (5.0.1 - 1001.0.82.4) <1A3E8F91-FF6E-3733-B1AD-CC4D4F3378F4> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftObjectiveC.dylib
0x100f26000 - 0x100f2cff7 +libswiftQuartzCore.dylib (5.0.1 - 1001.0.82.4) <FB7CCE82-C7FA-3E50-904D-2FB4006AC1DF> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftQuartzCore.dylib
0x100f3d000 - 0x100f40fff +libswiftXPC.dylib (5.0.1 - 1001.0.82.4) <D0199D63-5E28-3E52-907E-3832FBB94FCF> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftXPC.dylib
0x100f4f000 - 0x100f56ff7 +libswiftos.dylib (5.0.1 - 1001.0.82.4) <A5A1203C-B3D4-350C-BC88-9CECDF62637E> /var/folders/*/About This Hack.app/Contents/Frameworks/libswiftos.dylib
0x109530000 - 0x10957aacf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld
0x7fff2c002000 - 0x7fff2ce60fff com.apple.AppKit (6.9 - 1561.60.100) <3C27CF6F-E640-3411-A87D-CCB2222CC754> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff30ba9000 - 0x7fff30f6ffff com.apple.Foundation (6.9 - 1454.90) <8EA924F3-ADAE-3F4B-8482-8B11C027D9A5> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff54622000 - 0x7fff54623ffb libSystem.B.dylib (1252.50.4) <CD555F3B-FDDB-35E5-A2FB-FBBF3D62031A> /usr/lib/libSystem.B.dylib
0x7fff548d9000 - 0x7fff5492ffff libc++.1.dylib (400.9) <7D3DACCC-3804-393C-ABC1-1A580FD00CB6> /usr/lib/libc++.1.dylib
0x7fff55d5d000 - 0x7fff5614e3b7 libobjc.A.dylib (723) <BEEA51E2-1C4D-3672-87F6-F267B4AC6221> /usr/lib/libobjc.A.dylib
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 118 (99 by maintainers)
@0xCUB3 @MDNich @nocontent06 @yanisalbert @Matgen84 @perez987 Hi I made a mistake, issue N78 “scr.txt” Display section has a " Built-In " with I uppercase. There’s no reliable rule
So the code must be as follow grep " " /…/…/scr.txt | egrep “Built-[I|i]n”
~/0ATH/Data Tests/0-ath-issue-N78/scr.txt: Display Type: Built-In Retina LCD ~/Data Tests/0-ath-issue-N99/scr.txt: Display Type: Built-in Liquid Retina XDR Display
The new one https://drive.google.com/file/d/19eqr3DtVdbr4HhjOUu3QX_UUJFucda9T/view?usp=sharing
Tests mad with issues N39, N72, N72bis, N78, and N99 DataFiles and the result is the same apart with my Laptop
I’ll build this new version on Monterey with Xcode 14,2 to test it on High Sierra
0xCUB3 tell me if I must push latest modifications (since last PR not yet integrated)
I’m tired, and busy next week.
Regards
@0xCUB3 @baguswaber @5T33Z0 @perez987
Hi all
ATH works (fine … baguswaber would confirm that) with High Sierra 10.13.6 on an External HDD with High SIerra 10.13.6 it works, Tooltips too, as you can see below, I didn’t test upgrade (coz’ latest version available is 0.9.1 (version returned from github in version.txt) and version of this ATH Appli (G0R0C0) is 1.0.0
with ToolTips No Upgrade available Progress bar stays grey (or empty)
Just an inconvenience, the grey (not) colored progress bar (and no ToolTip on (… External USB)…) on HDD picture ToolTip is OK
Appli (on Google Drive) https://drive.google.com/file/d/19oNxPOvLaS1GYe96tqrpftM0NzLxE9Iw/view?usp=drive_link
Regards
@0xCUB3 @MDNich @nocontent06 @yanisalbert @Matgen84 @perez987
Hi
clamshell mode : you treat your laptop like a desktop tower, disabling the laptop’s built-in screen…
Yes but if you search in your “/tmp/.ath/scr.txt” the string “Built-In” what do you see
And I realize that the way to determine a “Built-In display” is a wrong way
What is returned is the GPU status ( Bus: Built-In ) not the display one (Built-in). GPU “Built-In” with I "-In"uppercase (search criteria in code (was never modified)), Display “Built-in” has a I lowercase.
Here is the “scr.txt” you send for test Graphics/Displays:
If I search in all issues “scr.txt”
Issue N39 “scr.txt” it’s a GPU Built-in egrep “Built-[I|i]n” ~/“0ATH/Data Tests”/0-ath-issue-N39/scr.txt Bus: Built-In
Issue N72 an N72bis distinct “scr.txt” without GPU Built-In nor Display Built-in egrep “Built-[I|i]n” ~/“0ATH/Data Tests”/0-ath-issue-N72/scr.txt egrep “Built-[I|i]n” ~/“0ATH/Data Tests”/0-ath-issue-N72bis/scr.txt
Issue N78 “scr.txt” both GPU Built-In and Display Built-in egrep “Built-[I|i]n” ~/“0ATH/Data Tests”/0-ath-issue-N78/scr.txt
Bus: Built-In Display Type: Built-In Retina LCD
Issue N99 (yours 0xCUB3) “scr.txt” both GPU Built-In and Display Built-in egrep “Built-[I|i]n” ~/“0ATH/Data Tests”/0-ath-issue-N99/scr.txt Bus: Built-In Display Type: Built-in Liquid Retina XDR Display
So the search criteria must be “Built-in” with I (-in) lowercase.
Previous one is with “Built-In” with I (-In) uppercase.
And this one below is with “Built-in” with I (-in) lowercase. https://drive.google.com/file/d/1OgT_J8EiKV_7-Ekj6QDcrhOj5SHsN4h8/view?usp=sharing And the result on my Laptop is different : from “Unknown Display” to a simple “Display”, my Laptop display is not considered as a “Built-in” Display (there’s no “Built-in” in /tmp/scr.txt Display section)
From To
Regards
@0xCUB3 @MDNich @nocontent06 @yanisalbert @Matgen84 @perez987
Hi Finally I thought it was a problem with EN storyboard, so I deactivate (remove reference) FR storyboard from Project to have only EN language, but unfortunately it’s not the reason why. I build and test it with all issues DataFiles even yours 0xCUB3 and all builds with EN and FR storyboards show a Display(s) name(s) in Displays Tab. All tests mad on my Laptop Ivy Bridge (Graphic and Broadcom Patched with OCLP, not sure Xcode doesn’t like it) on Ventura and Xcode 15.0.1 builds. Xcode 15.x problem, Swift 5 problem ? If somebody knows …
0xCub3
Below the last version you’ve tried (with EN storyboard)
Below the new build (tested with only EN storyboard to show you the result)
Result is the same
Last ATH build (and I push modifications in my Github Repo and open a PR) build with EN and FR storyboard activated. WITH $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib in project “build setting/Other Linker Flags”
https://drive.google.com/file/d/1S4GX9iJ86uLi_1vNbsck8Ihpo1YzLoDC/view?usp=drive_link
I push on Google Drive another build from which i removed the Compatibility Flag for High Sierra WITHOUT $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib in project “build setting/Other Linker Flags”
If this one works fine it’ll be a problem with TOOLCHAIN (Xcode or User one) https://drive.google.com/file/d/1Ls83h2K3xPBl8YWCHpxn7ACzjTqYE_Ag/view?usp=drive_link
Regards
I’ve fixed that Clover pproblem with Old Clover Rev.
Built with Xcode 14.2 and tested on Ventura, Monterey and High Sierra
I can’t (network or github can’t) upload screenshots of High Sierra, Monterey and Ventura.
And if you ask me a GO I answer you “you can GO”
The same build Xcode14.2 is used with this three macOS
@matxpa do you feel ready for a 1.0.0 release??? I think I am 😃
idk what the issue there is. Nothing on my end. Could you troubleshoot? Maybe the older version of zsh doesn’t support our commands? idk
Try this one made with Xcode 12: https://drive.google.com/file/d/1Yq_M2M6xOI0SOXwh1JlagsrzdC6XGxk0/view?usp=sharing
@0xCUB3
Hi
Built with Monterey 12.6.6 and Xcode 14.2 and Deployment Target 10.11 In ATH appli info.plist : BuildMachineOSBuild = 21G646 --> Monterey 12.6.6 (21G646) DTXcode = 1420 --> Xcode 14.2 LSMinimumSystemVersion = 10.11 --> El Capitan
In ATH Project (TARGETS/Build Settings/macOS Deployment Target) LSMinimumSystemVersion MACOSX_DEPLOYMENT_TARGET = 10.11;
And if you try to build ATH with Ventura, Xcode 15.0 (15A240d) and TARGETS/Build Settings/macOS Deployment Target = 10.11
The macOS deployment target ‘MACOSX_DEPLOYMENT_TARGET’ is set to 10.11, but the range of supported deployment target versions is 10.13 to 14.0.99. (and what could happen with Sonoma 14.1 beta ???)
So we could try with LSMinimumSystemVersion at 10.12 or 10.13 but imperatively with Xcode 14.2 (Monterey 12.5 mini) Xcode 14.3, 14.3.1 and newer work only with Ventura (13.3 mini) and Sonoma
Regards
@0xCUB3 @perez987 Hi I’ve made changes in UpdateController.swift … static func updateATH() { … // let rm = run(“rm -rf "” + initGlobVar.thisAppliLocation + “"”) let rm = run(“rm -rf "(initGlobVar.thisAppliLocation)"”) … // _ = run(“[[ ! -d "” + initGlobVar.thisAppliLocation + “" ]]”) _ = run(“[[ ! -d "(initGlobVar.thisAppliLocation)" ]]”) … // _ = run("cp -rf " + initGlobVar.athDirectory + “"” + initGlobVar.thisAppliname + “" " + initGlobVar.allAppliLocation) _ = run(“mv -f (initGlobVar.athDirectory)” + “"(initGlobVar.thisAppliname)"” + " (initGlobVar.allAppliLocation)”) … // _ = run("open " + initGlobVar.allAppliLocation + “"” + initGlobVar.thisAppliname + “"”) _ = run(“open "(initGlobVar.thisAppliLocation)"”) …
New build App (today) placed in /Application with a ShortVersionString downgraded
Now the upgraded ATH App from 0.9.0 to 0.9.1 (20230728) and immediately opened
And the Upgrade works fine (tested with Monterey and Xcode 14.2 (14C18) (since few days my Ventura platform is unstable)
I made also changes on both Main.storyboard (IN MY REPO) but don’t apply that, coz’ Storage Name & Info Displayed on Storage Tab are different between our two Repo.
Below is before changes
Below is after changes
And below Storage Tab from your Repo
All of those changes had been pushed in github matxpa ATH repo (branch main)
Regards
@0xCUB3 @perez987
upgrade doesn’t work for that reason : Last Release ID retrieved (in .ath/version.txt) is 1.0.0, but https://github.com/0xCUB3/About-This- Hack/releases/download/1.0.0/About.This.Hack.zip doesn’t exist.
Some adjustments/corrections made too in InitGlobalVariables.swift and UpdateController.swift. But I can’t test this upgrade, may be if you change the content of the file which contains Last Release ID (aka to 0.9.1) and I change in my local PROJECT Version from 0.9.9 to 0.8.9 I could test upgrade
Application https://drive.google.com/file/d/18OvgIAE1xggqsXsHaJQ_lJSPgQVAiVkQ/view?usp=sharing
Source https://drive.google.com/file/d/1EWY0KQM1TwEjjJHo8bYWY6bLXMnjSxq2/view?usp=sharing
And I update my fork, i’ll send you a message when it will be ok
Regards
I think the underlying issue is that I am using Xcode 16 beta, which can only build for macOS Big Sur and newer (I believe)… I’ll have to figure out a workaround. @baguswaber please stay tuned.