macOS cross-compiled libvncserver
static library for iOS arm64 platform.
This build fixes CMake endian tests on iOS sdks, if you met Protocol error: bad desktop size
in VNC Viewer
, this patch may help.
Base SDK: iPhoneOS13.0.sdk
libvncserver
: libvncserverlibjpeg-turbo
: libjpeg-turbolibpng
: libpng-1.6.37lzo
: lzo-2.10openssl
: Build-OpenSSL-cURLlibsasl2
: cyrus-sasl
$ uname -a
Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000 arm64 arm64 MacBookPro18,1 Darwin
$ cmake --version
cmake version 3.22.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ xcodebuild -version
Xcode 12.5.1
Build version 12E507
$ xcpretty --version
0.3.0
git clone https://github.com/Lessica/BuildVNCServer.git
cd BuildVNCServer
chmod +x build.sh
./build.sh
git clean -fdx