I’m currently using Xcode 7.2.1 Appium 1.5.1 here are the instructions I whipped up for my team, let me know if they help you. Note we have npm installed in our user directory to negate need for sudo.
Fix Instruments 1 Second Delay (negatively affects iOS simulator test speed):
1. Uninstall old version of appium-instruments with:
npm uninstall appium-instruments (use sudo if you happened to install it with sudo previously)
2. Install the latest version of appium-instruments with:
npm install appium-instruments (should not require sudo)
3. Install worked correctly if no errors were logged, and you have a folder ~/node_modules/appium-instruments/bin with xcode-iwd.sh in it.
4. Change to your appium-instruments directory, not your appium directory.
5. Run script per instructions here: https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/iwd_xcode7.md
My script was: sh ./bin/xcode-iwd.sh /Applications/Xcode.app /Users/your_username/node_modules/appium-instruments/
6. To verify your .plist was updated, run the following command in terminal:
/usr/libexec/PlistBuddy -c print /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/LaunchDaemons/com.apple.instruments.deviceservice.plist
It should include the following lines pointing to your appium-instruments directory, not your appium directory. These are what negate the 1 second instruments command delay. Make sure the path:
EnvironmentVariables = Dict {
LIB_PATH = /Users/your_username/node_modules/appium-instruments//thirdparty/iwd7/
DYLD_INSERT_LIBRARIES = /Users/your_username/node_modules/appium-instruments//thirdparty/iwd7/DTMobileISShim.dylib
}