Unable to profile using Instruments in new project (XCode 9 beta 6)

Originator:rmalik
Number:rdar://34026884 Date Originated:8/22/2017
Status:Closed Resolved:
Product:Instruments Product Version:XCode 9, Beta 6
Classification:Serious Bug Reproducible:Always
 
Summary:
We've encountered a regression between XCode Beta 5 and Beta 6 where we are no longer able to profile our project. Then we created a fresh project and were unable to profile that either.

Steps to Reproduce:
- Create a fresh iOS Application project (project attached)
- Run "Profile"

Expected Results:
I should be able to use Instruments to profile my application

Observed Results:
The app launches and fails instantly. Instruments says "Target failed to run. Permission to debug [app bundle] was denied."

Version:
XCode 9 / Beta 6, macOS Sierra 10.12.6

Notes:
This project was simply created from the new project menu. There is nothing we have added or modified about it.

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!