Posts

Post not yet marked as solved
7 Replies
4.0k Views
Why does this happen and how can it be resolved? (See output dump below showing my interactions with lldb) MyModule is a standard macOS project. It imports SpriteKit and a framework that I wrote, which is another project in the same workspace. Both projects in the workspace are written in 100% Swift 3.0. Both projects have their "Use Legacy Swift Language Version" (SWIFT_VERSION) setting set to NO. Changing this value doesn't affect this issue. I am using Xcode Version 8.2 beta (8C30a).It's worth noting that my framework project was previously written in Swift 2.x but has since been refactored for Swift 3.0. Not sure if there is some other project setting that might be causing this.2016-11-21 10:43:17.428200 MyModule[90945:3495758] [DYMTLInitPlatform] platform initialization successful2016-11-21 10:43:17.571197 MyModule[90945:3495732] Metal GPU Frame Capture Enabled2016-11-21 10:43:17.571563 MyModule[90945:3495732] Metal API Validation Enabled(lldb) po patherror: in auto-import:failed to get module 'MyModule' from AST context:(lldb) po pathShared Swift state for MyModule has developed fatal errors and is being discarded.REPL definitions and persistent names/types will be lost.error: in auto-import:failed to get module 'MyModule' from AST context:(lldb)
Posted Last updated
.