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

is there a version for macos 10.15? #5649

Closed
dengzha0 opened this issue Dec 11, 2024 · 10 comments
Closed

is there a version for macos 10.15? #5649

dengzha0 opened this issue Dec 11, 2024 · 10 comments

Comments

@dengzha0
Copy link

3.x seems only support macos 13, and 2.x only has windows version.

@rom1v
Copy link
Collaborator

rom1v commented Dec 11, 2024

3.x seems only support macos 13

Hmm… no. Which file did you download?

and 2.x only has windows version.

For convenience, a static binary is provided only since 3.x, but it was still possible to use it on mac. For example, scrcpy is packaged in homebrew.

Read: https://github.com/Genymobile/scrcpy/blob/master/doc/macos.md

@dengzha0
Copy link
Author

dengzha0 commented Dec 12, 2024

Hmm… no. Which file did you download?

the latest 3.1, here is the error info from terminal.
scrcpy_error

For example, scrcpy is packaged in homebrew.

homebrew needs macos 13 or higher as well. :(
homebrew_require

thanks for the reply.

@rom1v
Copy link
Collaborator

rom1v commented Dec 12, 2024

Can you reproduce on 3.0.2? Or is it only on 3.1?

@dengzha0
Copy link
Author

Can you reproduce on 3.0.2? Or is it only on 3.1?

same result on 3.0.2(scrcpy-macos-x86_64-v3.0.2.tar.gz).
there is also a message box, here is my hardware & software info from the message box:

Process:               scrcpy [1897]
Path:                  /Applications/scrcpy/scrcpy
Identifier:            scrcpy
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        zsh [599]
Responsible:           Terminal [597]
User ID:               501

Date/Time:             2024-12-12 16:43:07.061 +0800
OS Version:            Mac OS X 10.15.7 (19H2026)
Report Version:        12
Anonymous UUID:        BEDE1618-955E-92B7-33FF-5F6D56EB8514


Time Awake Since Boot: 7600 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _kIOMainPortDefault
  Referenced from: /Applications/scrcpy/scrcpy (which was built for Mac OS X 13.0)
  Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

Model: MacBookAir7,2, BootROM 489.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 2.2 GHz, 8 GB, SMC 2.27f2
Graphics: kHW_IntelHDGraphics6000Item, Intel HD Graphics 6000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1615.7)
Bluetooth: Version 7.0.6f8, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

@rom1v
Copy link
Collaborator

rom1v commented Dec 12, 2024

OK, I guess macOS 10.15 is too old.

Btw (@Genxster1998, #5560 (comment)):

I would strongly suggest you to move to later macOS releases preferably latest 2 releases.Catalina ceased to get security updates in oct 2022 vulnerable to easy root exploits like dirtycow patched in dec 2022 or other tcc exploits.

@aprovera
Copy link

scrcpy is also available on MacPorts, where it works on OS versions as old as 10.6 Snow Leopard. I personally use MacPorts' scrcpy on 10.11 and 10.14 with no issue.

@dengzha0
Copy link
Author

scrcpy is also available on MacPorts, where it works on OS versions as old as 10.6 Snow Leopard. I personally use MacPorts' scrcpy on 10.11 and 10.14 with no issue.

wow, it worked, thanks a lot.

@Genxster1998
Copy link
Contributor

Genxster1998 commented Dec 13, 2024

there is tons of changes appeared from macOS 11 onwards, especially in department of IOKit Framework. Github CI does not provide older host build machines. Solution is to build locally to link against existing framework in host system or may be to load and link for macOS 10.15 SDK targeting in higher host system in developer tools SDKs.

@yume-chan
Copy link
Contributor

Please try this one: scrcpy.zip

I built this on macOS 13.7 with export MACOSX_DEPLOYMENT_TARGET=10.13. It seems to work on 10.15

@dengzha0
Copy link
Author

Please try this one: scrcpy.zip

I built this on macOS 13.7 with export MACOSX_DEPLOYMENT_TARGET=10.13. It seems to work on 10.15

i have tested, it runs perfectly on my mac(10.15.7), thanks a lot.

rom1v pushed a commit that referenced this issue Dec 23, 2024
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

5 participants