Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
Which version of macOS is this, and have you upgraded this since you built/installed Geant4 (or the Xcode version)? I suspect that this is the Geant4PackageCache.cmake file keeping a now uninstalled path. You could try deleting that file and seeing if that helps - it’s not critical to the functionality.
I’d still suspect this is due to Xcode having updated with the Geant4 install having been done with the previous version. So the solution is:
Confirm that /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKsdoes not contain a MacOSX13.3.sdk subdirectory (I’m guessing there will be MacOSX13.5.sdk).
Locate the file Geant4PackageCache.txt in your Geant4 install area and delete it.
Yes, that was the issue /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs does not contain a MacOSX13.3.sdk, I just changed to MacOSX14.2.sdk
Thank you