Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run Scap on Mac OS X 10.15.7 #136

Closed
Thintin914 opened this issue Dec 2, 2024 · 3 comments
Closed

Cannot run Scap on Mac OS X 10.15.7 #136

Thintin914 opened this issue Dec 2, 2024 · 3 comments

Comments

@Thintin914
Copy link

I tried to run Scap with Mac OS X 10.15.7, but it crashes.

The report log is this:

Process:               MyGame [1029]
Path:                  /private/var/folders/*/Shalloville.app/Contents/MacOS/MyGame
Identifier:            com.shalloville.io
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           MyGame [1029]
User ID:               907805256


Date/Time:             2024-12-02 17:33:37.581 +0800
OS Version:            Mac OS X 10.15.7 (19H15)
Report Version:        12
Bridge OS Version:     5.5 (18P4759a)
Anonymous UUID:        08D2A5D2-891F-40D4-875E-C34940ABF6EA




Time Awake Since Boot: 240 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, [0x1] Library missing


Application Specific Information:
dyld: launch, loading dependent libraries


Dyld Error Message:
  Library not loaded: /System/Library/Frameworks/ScreenCaptureKit.framework/Versions/A/ScreenCaptureKit
  Referenced from: /private/var/folders/*/Shalloville.app/Contents/MacOS/MyGame
  Reason: image not found


Binary Images:
       0x10ea15000 -        0x11141409f +MyGame (0.1.0 - ???) <CF8F5C11-214E-3F88-9DED-27A124E91D74> /var/folders/*/Shalloville.app/Contents/MacOS/MyGame
       0x11e6a2000 -        0x11e733f47  dyld (750.6) <1D318D60-C9B0-3511-BE9C-82AFD2EF930D> /usr/lib/dyld
    0x7fff2eda4000 -     0x7fff2fb64ff2  com.apple.AppKit (6.9 - 1894.60.100) <A64D10A6-FE17-39CE-9392-6615BE54E10E> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff31af1000 -     0x7fff31f70feb  com.apple.CoreFoundation (6.9 - 1677.104) <C0D70026-EDBE-3CBD-B317-367CF4F1C92F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff31f72000 -     0x7fff325e7ff8  com.apple.CoreGraphics (2.0 - 1355.22) <4A3CDE7B-4578-3058-966A-3D1DC095A935> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff32d11000 -     0x7fff32decffc  com.apple.CoreMedia (1.0 - 2625.9) <A3FF3AFC-8C1C-36E5-9179-66D8F075EE35> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x7fff33b04000 -     0x7fff33b48ffb  com.apple.CoreVideo (1.8 - 344.3) <5314E70D-325F-3E98-99FC-00FDF520747E> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff341ae000 -     0x7fff34573fff  com.apple.Foundation (6.9 - 1677.104) <7C69F845-F651-3193-8262-5938010EC67D> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff348e7000 -     0x7fff3498bff3  com.apple.framework.IOKit (2.0.2 - 1726.140.1) <14223387-6F81-3976-8605-4BC2F253A93E> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff34a1d000 -     0x7fff34b79ffe  com.apple.ImageIO.framework (3.3.0 - 1976.11.1) <5DBAD721-B70E-396C-922C-A2742E6815D6> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff3d642000 -     0x7fff3d8c5ffb  com.apple.QuartzCore (1.11 - 841.4) <FE927B0E-BD49-32CC-8A55-90F553C86C15> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore


Model: iMac20,1, BootROM 1554.140.20.0.0 (iBridge: 18.16.14759.0.1,0), 10 processors, 10-Core Intel Core i9, 3.6 GHz, 32 GB, SMC 
Graphics: kHW_AMDRadeonPro5500XTItem, AMD Radeon Pro 5500 XT, spdisplays_pcie_device, 8 GB
Memory Module: Slot 2 (Channel A / DIMM 0), 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3
Memory Module: Slot 4 (Channel B / DIMM 0), 16 GB, DDR4, 2667 MHz, Micron, 16ATF2G64HZ-2G6E3
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Apr  7 2020 13:09:12 version 9.30.357.41.32.5.49 FWID 01-617711e7
Bluetooth: Version 7.0.6f7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
USB Device: USB 3.1 Bus
USB Device: Apple Optical USB Mouse
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: Apple T2 Bus
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: iMac, Apple Inc., 63.3

My program crashes on:
Library not loaded: /System/Library/Frameworks/ScreenCaptureKit.framework/Versions/A/ScreenCaptureKit
Reason: image not found

@Thintin914
Copy link
Author

Thintin914 commented Dec 2, 2024

I see there's com.apple.QuartzCore. I think Quartz Display Services API is usable to capture screen in older MacOS version before ScreenCaptureKit API exists.

@Thintin914 Thintin914 reopened this Dec 2, 2024
@Brendonovich
Copy link
Member

I think this is effectively a duplicate of #23

@Thintin914
Copy link
Author

yea I realized that. I should find another library with Quartz to support older macos version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants