How to Fix LLDB: Couldn't IRGen Expression
A few weeks ago, we started receiving support tickets with reports that people can't use the lldb debugger anymore after integrating PSPDFKit. Instead of printing an object, they get Couldn't IRGen expression, no additional error. That's obviously not great, and trying to understand what's wrong here led me down a rabbit hole worth sharing.
How to Fix LLDB: Couldn't IRGen Expression (when using Carthage)
Strava's iOS & watchOS code is stored in a single repository. This repository contains all of our code as well as the compiled Carthage dependencies ( Carthage/Build/iOS & Carthage/Build/watchOS). This is partly to reduce complexity for any given engineer (since they don't need to worry about carthage bootstrap) and to avoid unnecessary building of our Carthage dependencies in our CI pipeline.