---
title: "[IOS]解决Failed to start Instruments daemon for ‘iOS’ on iPhone"
author: "MyEyeOfJava"
date: "2014-12-02T11:19:33Z"
tags: []
categories: ["移动开发"]
slug: "ios-failed-to-start-instruments-daemon-for-ios-on-iphone"
draft: false
lastmod: "2014-12-02T11:19:33Z"
id: 2162433
url: "https://myeyeofjava.iteye.com/blog/2162433"
---

Failed to start Instruments daemon for ‘iOS’ on iPhoneXXX (v5.0.1) (The service is invalid.)  
Please reconnect the device

近日使用iphone手机做自动化测试，打开instruments，一直报这个错。重新连接，重启电脑，重启手机，都没办法解决。  
后来尝试先打开xcode，等设备信息加载完后，再重新打开instruments。问题居然解决了。