Playground Auxiliary code cannot import custom frameworks
| Originator: | dornad | ||
| Number: | rdar://25007363 | Date Originated: | 07-Mar-2016 11:46 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.2+ |
| Classification: | Other Bug | Reproducible: | Always |
EDIT: This ticket is (possibly) a duplicate of http://www.openradar.me/23756130. ========== Auxiliary code in Playgrounds cannot import custom frameworks. A custom framework can be imported and used in a Playground, as described in https://developer.apple.com/library/ios/recipes/Playground_Help/Chapters/ImportFramework.html#//apple_ref/doc/uid/TP40015166-CH27-SW1 However, the same framework is not found when trying to use it in auxiliary code files. This makes writing auxiliary code that depends on such custom frameworks impossible. Steps to Reproduce: 1. Create Or Open a Playground in Xcode 2. Import a custom framework into the Playground. 3. Open or Create an auxiliary source code file in the Playground 4. Add a import statement for the custom framework in the source code file from numeral 3. Expected Results: The framework should be imported and accessible from the auxiliary code file. Actual Results: The framework cannot be imported. Version: - Xcode 7.2.1 (7C1002) - Xcode 7.3 beta (7D162j) - OSX 10.11.3 (15D21)
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!