Raygun breaking debugger in Xcode7 and Swift
nhart12
Posted on
Oct 07 2015
After adding raygun to my swift project using cocoapods and initializing, any time I try to do a "po" on a variable in the console while debugging I get the following response:
warning: Swift error in module TestProject:
Swift had fatal errors constructing the ast context for this module: <module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/nhart/Documents/TestProject/Pods/Raygun4iOS/Raygun4iOS.framework/Headers/Raygun4iOS.h"
^
/Users/nhart/Documents/TestProject/Pods/Raygun4iOS/Raygun4iOS.framework/Headers/Raygun4iOS.h:19:9: error: include of non-modular header inside framework module 'Raygun4iOS'
#import <Raygun4iOS/Raygun.h>
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/nhart/Documents/TestProject/Pods/Raygun4iOS/Raygun4iOS.framework/Headers/Raygun4iOS.h"
^
/Users/nhart/Documents/TestProject/Pods/Raygun4iOS/Raygun4iOS.framework/Headers/Raygun4iOS.h:20:9: error: include of non-modular header inside framework module 'Raygun4iOS'
#import <Raygun4iOS/RaygunUserInfo.h>
^
could not build Objective-C module 'Raygun4iOS'
Debug info from this module will be unavailable in the debugger.
error: Error in auto-import:
failed to get module 'TestProject' from AST context
Jason Fauchelle
Raygun
Posted on
Oct 07 2015
Hello,
Thanks for bringing this to our attention. I'll have a look and get back to you.
-Jason Fauchelle
Jason Fauchelle
Raygun
Posted on
Oct 08 2015
Hello,
I have released a new version of Raygun4iOS now (version 2.1.2) which contains a possible fix for this issue. Please try it out and let me know how it goes. Let me know if you have further questions about this.
-Jason Fauchelle
nhart12
Posted on
Oct 09 2015
This version has resolved the issue. Thanks!