Even after installing the command line tools for xcode-beta13 I get the following error when trying to install wireshark development code in my system after updating to BigSur.
bash-3.2$ wireshark/tools/macos-setup.sh
macos-setup.sh: Couldn't find an SDK for macOS 11.4 or later
bash-3.2$ sudo xcode-select -switch /Library/Developer/CommandLineTools
bash-3.2$ cd wireshark
bash-3.2$ tools/macos-setup.sh
macos-setup.sh: Couldn't find an SDK for macOS 11.4 or later
bash-3.2$
Also when I do cmake to setup the wireshark development environment I get the following error
bash-3.2$ cmake ../wireshark
-- Generating build using CMake 3.19.2
-- LTO/IPO is not enabled
-- CMake build type: RelWithDebInfo
-- V: 3.5.0, MaV: 3, MiV: 5, PL: 0, EV: .
-- Linker flags:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Checking for one of the modules 'glib-2.0'
CMake Error at /Users/mmunuswamy/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find GLIB2 (missing: GLIB2_LIBRARY GLIB2_MAIN_INCLUDE_DIR
GLIB2_INTERNAL_INCLUDE_DIR) (Required is at least version "2.38.0")
Call Stack (most recent call first):
/Users/mmunuswamy/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindGLIB2.cmake:111 (find_package_handle_standard_args)
CMakeLists.txt:1113 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/mmunuswamy/work/wireshark/build/CMakeFiles/CMakeOutput.log".
See also "/Users/mmunuswamy/work/wireshark/build/CMakeFiles/CMakeError.log".
bash-3.2$
Any help is greatly appreciated.
Thanks in advance