Importing Custom Framework Into Playground Causes it to Silently Fail to Execute

Originator:iosdeveloperzone
Number:rdar://21373862 Date Originated:13-Jun-2015 05:58 PM
Status:Closed Resolved:01-Oct-2015
Product:Developer Tools Product Version:Xcode-beta (7A120f)
Classification:Security Reproducible:Always
 
Summary:
Importing a custom framework into a Playground causes it to cease executing. No errors are reported. The IDE claims the playground executed successfully.

Steps to Reproduce:
1) In Xcode beta (7A120f) create an iOS framework project and add a Swift file with a simple public function.
2) Create a workspace and add the above project.
3) Create a playground and add it to the above workspace.
4) Add a print statement to the playground, notice that it executes.
5) Add an import statement for the framework created in step 1
6) Notice the print statement no longer executes
7) Notice it is also impossible to call the function defined in the framework.

Expected Results:
It should be possible to import the framework and execute functions in the framework.

Actual Results:
Adding the import statement seems to cause the code in the playground to stop executing. 

Regression:
This is a regression from 6.3.1 (6D1002)

Notes:
A workspace demonstrating the issue has been attached to this radar.

Comments

Resolved 01-Oct-2015

Confirmed resolved in 7.0 (7A220), 7.1 (7B60)

By iosdeveloperzone at Oct. 2, 2015, 3:30 a.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!