Xocde 7, can't run playground. Unable to create target for stub executable. unable to find executable for

Originator:konstantin.koval1
Number:rdar://22107493 Date Originated:02-Aug-2015 03:17 PM
Status:Duplicate (Closed) Resolved:
Product:Developer Tools Product Version:Xcode-beta (7A165t)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
I have an empty project with many playgrounds files
I've added a Application an iOS Application target. After that I see the error

Unable to create target for stub executable. unable to find executable for '/var/folders/99/l2t7jb415pzds1sgb03t47jc0000gn/T/com.apple.dt.Xcode.pg/applications/TOC-38535-240.app/TOC'

Steps to Reproduce:
- Create empty project.
- Add a playground with few pages.
- Add am iOS application target. 
- Try opening playgrounds.

Result, an error.

Comments

Duplicate of 21358571; the “fix” I thought I’d found didn’t hold up.

I had the same problem, and filed rdar:///21555545, which was closed as a duplicate of 21358571.

I detailed the problem in a developer forum post at https://forums.developer.apple.com/thread/6828. I thought I’d solved it by resetting the project format to 6.3-compatible, but Xcode 7.0b5 exhibited the bug with a playground on an older (pre-7) project, and setting the format to 6.3 did not help.

I discarded the playground. The new one I created does not exhibit the bug.

By anderson.fritz at Aug. 6, 2015, 8:11 p.m. (reply...)

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!