Swift compiler hangs when building in Release, but not in Debug

Originator:neocool2
Number:rdar://21421339 Date Originated:17-Jun-2015 08:12 AM
Status:Fixed Resolved:in Xcode 7 beta 4
Product:Developer Tools Product Version:Xcode 6.3.2 (6D2105)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:

Given this project: https://github.com/neonichu/NBMaterialDialogIOS

building it in Release mode will lead to the compiler hanging indefinitely on NBMaterialAlertDialog.swift — building in Debug mode works fine, though.

Steps to Reproduce:

1. Check out the project
2. Build it using:

xcodebuild -workspace Example/NBMaterialDialogIOS.xcworkspace -scheme Pods-NBMaterialDialogIOS_Example-NBMaterialDialogIOS -configuration Release

Expected Results:

Compilation succeeds

Actual Results:

Compiler hangs indefinitely on NBMaterialAlertDialog.swift

Regression:

This does not happen when the same build is done in Debug mode.

Notes: -

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!