Xcode 6 compatibility

Uses instruments to find the device-id and uses that to find the applications directory for that device.