When I open a project in Xcode 7.0b2, playgrounds execute intermittently at best. Xcode regularly puts up an alert sheet, containing the same thing as the following from Console.app:
6/24/15 11:09:39.924 AM Xcode[54310]: [MT] IDEPlaygroundDocument: Error encountered running playground: Error Domain=IDEPlaygroundErrorDomain Code=1 "Unable to create target for stub executable. unable to find executable for
'/var/folders/2n/k51s3_gd2177vkrmy04p2s000000gn/T/com.apple.dt.Xcode.pg/\
applications/modeling-54310-7.app/Contents/MacOS/modeling'"
UserInfo=0x7fda4a4a3aa0 {NSLocalizedDescription=Unable to create target for stub executable.
unable to find executable for '/var/folders/2n/k51s3_gd2177vkrmy04p2s000000gn/T/com.apple.dt.Xcode.pg/\
applications/modeling-54310-7.app/Contents/MacOS/modeling'}
(Broken by hand because the forum’s new code editor seems to freak out at long lines.)
Results in the sidebar, if any, gray-out. Editor > Execute Playground may or may not execute, but always results in the alert. Show Rendered/Raw Markup seems to work, but again the alert drops down.
The “modeling” app in the …/applications directory is modeling-54310-8.app, so yes, the path is missing. The directory also contains MyPlayground-45499-4.app. In this case, the playground had two pages, “modeling” and “generation.” Note that generation had no modeling app package, and that page apparently never was evaluated. It did not matter which was displayed. Throwing that playground out and adding a new one, with one page, had no effect.
Creating a new project in 7.0b2 and adding a new one-page playground had no effect. xcode-select of Xcode-Beta.app has no effect. It’s the same in OS X 10.10.3 and 10.11b2. Target 10.11, double-checked that the playgrounds were for OS X, I didn’t touch the initial import Cocoa.
I don’t see anyone else complaining. Any suggestions on how to get it working?