Unable to launch WebDriverAgent

I am getting following error while try to launch app in ios: Unable to launch WebDriverAgent because of xcodebuild failure: “Command ‘Scripts/bootstrap.sh -d’ exited with code 1”. Please help with any solution. Thanks in advance.

you need use this command on terminal/cmd
bash Scripts/bootstrap.sh -d
before you need be on nappium project file.
mine is /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

I have tried this. Still same issue.