when I use command xcodebuild archive,it has error

I use the command to compile the project, and there will be errors: /bin/sh -c /Users/lgh/Library/Developer/Xcode/DerivedData/OriginalSweeper-deuxhkhtebxhwzaspabzexwnpgcy/Build/Intermediates.noindex/ArchiveIntermediates/OriginalSweeper/IntermediateBuildFilesPath/OriginalSweeper.build/Release-iphoneos/OriginalSweeper.build/Script-3F94AC9F80668846F05679F5.sh

/bin/sh: /Users/lgh/Library/Developer/Xcode/DerivedData/OriginalSweeper-deuxhkhtebxhwzaspabzexwnpgcy/Build/Intermediates.noindex/ArchiveIntermediates/OriginalSweeper/IntermediateBuildFilesPath/OriginalSweeper.build/Release-iphoneos/OriginalSweeper.build/Script-3F94AC9F80668846F05679F5.sh: /bin/sh: bad interpreter: Bad address

** ARCHIVE FAILED **

The following build commands failed:

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/lgh/Library/Developer/Xcode/DerivedData/OriginalSweeper-deuxhkhtebxhwzaspabzexwnpgcy/Build/Intermediates.noindex/ArchiveIntermediates/OriginalSweeper/IntermediateBuildFilesPath/OriginalSweeper.build/Release-iphoneos/OriginalSweeper.build/Script-3F94AC9F80668846F05679F5.sh

(1 failure)

I have the same problem, do you have an answer?

when I use command xcodebuild archive,it has error
 
 
Q