akvirtualcamera
akvirtualcamera copied to clipboard
macOS .pkg: "Installer quit unexpectedly."
Getting "Installer quit unexpectedly." when running any of the macOS .pkgs (arm64 and x86), even on previous versions. From the terminal:
$ installer -pkg akvirtualcamera-mac-9.1.3-arm64.pkg -target ./test
assertion failed [thread_starts_interval.has_value()]: __thread_starts section missing
(RebaseRuntimeMachO.cpp:191 rebase_image)
[1] 67737 abort installer -pkg akvirtualcamera-mac-9.1.3-arm64.pkg -target ./test
Which MacOs version do you use? This error seem to be related to MacOs trying to run Rosetta in the installer, and using MacOs 15.
$ sw_vers
ProductName: macOS
ProductVersion: 15.3.2
BuildVersion: 24D81
uname -a ? for the architecture
$ uname -a
Darwin hostname 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030 arm64
My idea is to package the virtual camera using makeself, then the installer will compile the virtual camera in the user system automatically, to avoid code signing, is the same approach I'm taking with Webcamoid. Also, I should rewrite the virtual camera since Apple changed the API.