Unable to generate Xcode project file
I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.
Then I tried to run cmake to generate Xcode project file and it failed with this error message.
cmake -G Xcode ../ -- Generating build using CMake 3.21.4 -- Using "Xcode" generator (multi-config) -- LTO/IPO is not enabled -- V: 4.0.1, MaV: 4, MiV: 0, PL: 1, EV: . -- Linker flags: -- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6") -- Checking for one of the modules 'libpcap' -- Could NOT find Sparkle: Found unsuitable version "1", but required is at least "2" (found SPARKLE_INCLUDE_DIR-NOTFOUND) -- Could NOT find MaxMindDB (missing: MAXMINDDB_LIBRARY MAXMINDDB_INCLUDE_DIR) -- Could NOT find SMI (missing: SMI_LIBRARY SMI_INCLUDE_DIR) -- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5' -- Could NOT find Minizip (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) (found version "") -- Could NOT find BROTLI (missing: BROTLIDEC_LIBRARY BROTLI_INCLUDE_DIR) -- Checking for one of the modules 'lz4;liblz4' -- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) -- Could NOT find SNAPPY (missing: SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) -- Checking for one of the modules 'libzstd' -- Could NOT find ZSTD: Found unsuitable version "", but required is at least "1.0.0" (found ZSTD_LIBRARY-NOTFOUND) -- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51' -- Checking for one of the modules 'lua<=5.2.99' -- Could NOT find LUA (missing: LUA_VERSION_NUM) (Required is at least version "5.1") -- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) -- Checking for one of the modules 'spandsp' -- Could NOT find SPANDSP (missing: SPANDSP_LIBRARY SPANDSP_INCLUDE_DIR) -- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) -- Checking for one of the modules 'libilbc' -- Could NOT find ILBC (missing: ILBC_LIBRARY ILBC_INCLUDE_DIR) -- Checking for one of the modules 'opus' -- Could NOT find OPUS (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) -- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) -- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "") -- Building for Mac OS X/OS X/macOS 10.13 using SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -- SSE4.2 compiler flag: -msse4.2 -- C-Flags: -fvisibility=hidden -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Wno-pointer-sign -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- CXX-Flags: -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wextra-semi -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- Warnings as errors disabled -- The following OPTIONAL packages have been found: * Git * GMODULE2 * Perl * Gettext * PCAP * Qt5Network (required version >= 5.15.6) * Qt5Multimedia * GNUTLS (required version >= 3.5.8) * KERBEROS * ZLIB * NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, <https: nghttp2.org=""> Header decompression in HTTP2 * LibXml2 * Asciidoctor (required version >= 1.5) * XSLTPROC -- The following REQUIRED packages have been found: * GLIB2 (required version >= 2.50.0) * GTHREAD2 * GCRYPT (required version >= 1.8.0) * CARES ...