Recently I introduced a second app target to my Xcode project and split a great portion of the app into frameworks. Since then my debugger doesn't allow me to view or print the value of variables. When the app stops at a breakpoint I get the following console output:
The REPL and expressions are unavailable.
Shared Swift state for <AppName> could not be initialized.
Breakpoints work most of the time, but occasionally the entire debugger will crash, giving me this output:
Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
I also get hundreds of these warnings in my concole output, each for a different class. I'm not sure if it's related
objc[1042]: Class GAI is implemented in both /private/var/containers/Bundle/Application/9678F1A1-F2A4-424D-BCA2-DBD7B23C49FE/patientMpower.app/Frameworks/DevicePickerView.framework/DevicePickerView (0x10c42b468) and /private/var/containers/Bundle/Application/9678F1A1-F2A4-424D-BCA2-DBD7B23C49FE/patientMpower.app/Frameworks/Journal.framework/Journal (0x10c332650). One of the two will be used. Which one is undefined.
I am on OSX 10.14.3, Xcode 10.1, iOS SDK 9.0
Attempted fixes:
- Removing all pods
- Removing CommonCrypto as sugggested elsewhere
- carthage update --platform-iOS --no-use-binaries
- Restarting Xcode, the computer
- Deleting derivedData
- Clean and rebuild