Very strange issue.
It seems that a specific project of mine causes Xcode to crash while idle due to resources issue.
Not sure if related, but when viewing source code differences of this project, the entire window is flickering like crazy...
crash file is attached (converted to txt file otherwise can't attach it)
Any ideas?
ExcResource_Xcode-2022-10-07-115919.diag.txt
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I recently added Swift to my existing objective-c static library project and encountering issues when debugging Swift code.
While in a breakpoint and entering po command to print a variable value I get:
error: expression failed to parse:
error: Couldn't realize type of self
Note the following:
The project is an objective-c static library with recently added Swift files.
The error appears only when breakpoint is in a Swift file. There is no issues while debugging objective-c file (*.m file).
Xcode version is 14.1
Project is using CocoaPods.
There are no issues with compilation and runtime. The only issue is with debugging Swift code.
When running swift-healthcheck from breakpoint, there are plenty of errors as follow:
LoadOneModule() -- Missing Swift module or Clang module found for
"Infra", "imported" via SwiftDWARFImporterDelegate. Hint: Register
Swift modules with the linker using -add_ast_path.
While Infra is the name of my static library. (I couldn't find any helpful instructions explaining how to register swift modules, while I'm not even sure it points to the actual issue).
Any suggestions will be highly appreciated.
Xcode 14 Beta 5 shows this exception:
[<_UINavigationBarContentViewLayout valueForUndefinedKey:]: this class is not key value coding-compliant for the key inlineTitleView.
I am getting this new exception in all my obj-c projects while using Xcode 14 Beta 5.
A few notes:
Exception appears on any simulator device (running iOS 16)
Exception appears right on the start inside int main(int argc, char * argv[])
No exception on real device running iOS 15
Exception can be ignored (no crash).
I wonder if anyone else encountered this.