Xcode6-Beta (6A215l): dispatch_semaphore not compiling in iOS Playgrounds

Originator:adam
Number:rdar://17297813 Date Originated:13-Jun-2014 03:33 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-Beta (6A215l)
Classification:Other Bug Reproducible:Always
 
Summary:
Still attempting to show the power of playgrounds for tailoring animations in iOS, I attempted to set up a dispatch semaphore to execute the main runloop whilst animations were running. It won’t compile

Steps to Reproduce:
1. Attempt to use a dispatch_semaphore (see notes)
2. Encounter console output error pages and the playground refuses to compile

Expected Results:
The ability to use dispatch_semaphore

Actual Results:
Console errors and playground not compiling from that statement onwards

Regression:


Notes:
// Sample code
var semaphore = dispatch_semaphore_create(0)

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!