Originator:pirat267
Number:rdar://31390933 Date Originated:02/04/2017
Status:Open Resolved:
Product:Swift Playgrounds Product Version:1.2
Classification: Reproducible:Always
 
Summary:
The documentation(1) lists JavaScriptCore as one of the exported frameworks which should be available in Swift Playgrounds. Unfortunately this seems not to be the case or the import statement is different than expected. 

(1) https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/AvailableSDKs.html#//apple_ref/doc/uid/TP40017343-CH5-SW2

Steps to Reproduce:
1. Create a new playground
2. Try to import JavaScriptCore

Expected Results:
The module is imported and ready to be used.

Actual Results:
The compiler complains that he can't find the module.

Version:
iOS 10.3
Swift Playgrounds 1.2

Notes:


Configuration:
iPad Air 2

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!