AltServer-Linux icon indicating copy to clipboard operation
AltServer-Linux copied to clipboard

support macOS

Open prife opened this issue 3 years ago • 4 comments

  1. add cmake support, only macOS now
  2. add libraries/corecrypto porting from rileytestut without any change, cause corecrypto.zip from apple's site can't be built on arm macOS.
  3. add an all-in-one in-place patch script makefiles/patch.py
  4. tested on m1 macOS, x86 macOS should be okay.

build:

  1. install dependencies
$  brew install cpprestsdk boost openssl
  1. patch code
$ python3 makefiles/patch.py
  1. build with cmake
$ mkdir build && cd build
$ cmake ..
$ make -j10

prife avatar May 15 '22 15:05 prife

Linux/windows building with cmake will be supported in future when I've some spare time.

prife avatar May 15 '22 15:05 prife

Maybe should build the project with vcpkg?

prife avatar May 15 '22 16:05 prife

I'm currently getting this error when building. AltServer-Linux-Build/AltServer-Linux/upstream_repo/AltSign/Archiver.cpp:323:71: error: use of undeclared identifier 'APPEND_STATUS_CREATE I'm on macOS 12.4 M1 Max MBP

joshrad-dev avatar Jul 08 '22 06:07 joshrad-dev

Be nice to build and get it to work on Windows because of how Altserver on Windows needs Administrator Access while from what I understand this probably wouldn't.

SternXD avatar Sep 02 '22 12:09 SternXD