REGRESSION cannot launch applications from CLI using instruments 6.0 (56138.1) Xcode 6 beta 5
| Originator: | joshuajmoody | ||
| Number: | rdar://17914773 | Date Originated: | 05-Aug-2014 12:51 PM |
| Status: | Open | Resolved: | |
| Product: | Instruments | Product Version: | 6 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
Related to the following:
* rdar://17765220
* rdar://16613248
Steps to Reproduce:
### reproduce
Assumes you have Xcode 5.1.1, Xcode 6b4, and Xcode 6b5 installed.
xc511 <= /path/to/Xcode/5.1.1/Developer/Directory
xc6b4 <= /path/to/Xcode/6b4/Developer/Directory
xc6b5 <= /path/to/Xcode/6b5/Developer/Directory
template <= /path/to/the/default/template/for/the/Xcode/version
udid <= udid of a connected device
trace <= /path/to/trace/document
The application identified by "com.example.chou" is installed on the device.
```
1. $ DEVELOPER_DIR=xc511 xrun instruments =>
instruments, version 5.1.1 (55045)
2. $ DEVELOPER_DIR=xc511 xcrun instruments -w udid -D trace -t template "com.exmaple.chou"
3. $ DEVELOPER_DIR=xc6b4 xrun instruments =>
instruments, version 6.0 (56127.2)
4. $ DEVELOPER_DIR=xc6b4 xcrun instruments -w udid -D trace -t template "com.exmaple.chou"
5. $ DEVELOPER_DIR=xc6b5 xrun instruments =>
instruments, version 6.0 (56138.1)
6. $ DEVELOPER_DIR=xc6b5 xcrun instruments -w udid -D trace -t template "com.exmaple.chou"
```
Expected Results:
### expected
To see the app identified by "com.example.chou" to be launched.
Actual Results:
### found
In step 6 - launching with Xcode 6b5:
```
Instruments Usage Error : Specified target process is invalid: com.xamarin.chou-cal
instruments, version 6.0 (56138.1)
```
These logs can be found in the device console:
```
DTMobileIS[11019] <Warning>: Could not create service named com.apple.instruments.server.services.launchdaemon
DTMobileIS[11019] <Warning>: Could not create service named com.apple.instruments.server.services.device.xpccontrol
DTMobileIS[11019] <Warning>: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
DTMobileIS[11019] <Warning>: Could not create service named com.apple.instruments.server.services.device.applictionListing
```
The failure to launch is sometimes accompanied by a crash, which is possibly related. Find a sample crash report attached.
Version:
Version:
* OS X 10.9.4 (13E28)
* OS X 10.10 (14A298i)
Xcode6-Beta4
Instruments 6.0 (56138.1)
Notes:
With Xcode _6b4_ instruments, you can use the Automation.tracetemplate from either Xcode 6b4 or Xcode 6b5 and launch successfully.
In Instruments.app 6b5, you can target and launch the "com.example.chou" app.
Configuration:
The target device can be running any iOS >= 7.
Attachments:
'DTMobileIS 5.8.14, 4-10 AM.crash' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!