===> Building for bg5pdf-1.0.0nb22 clang -fPIC -shared bg5pdflib.c -I/opt/pkg/include -I/opt/pkg/include/python2.7 -L/opt/pkg/lib -lpdf -Wl,-R/opt/pkg/lib -o bg5pdflib.so Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/SharedFrameworks/DVTPortal.framework/Versions/A/DVTPortal Reason: tried: '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache), '/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache)) clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch *** [all] Error code 71 bmake: stopped making "all" in /Users/pbulk/build/print/bg5pdf/work/bg5pdf bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/print/bg5pdf/work/bg5pdf *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/print/bg5pdf *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/print/bg5pdf