I have my application which is built with pre-built libraries. I also have their corresponding dSYMs. These libraries (and their dSYMs) are downloaded from a central repository during the application's build phase. Upon an application crash, while running the app from within Xcode, I am able to see the fully symbolicated crash stack in the Debug Pane which indicates that the crash is in a particular pre-built library but upon trying to inspect the variables in that stack frame it shows assembly code. This link tells that the source code is required for this step to work. Assuming I have the related source code with the exact version that's used to build the library from the central repository, how can I redirect Xcode to use that source code? Let's say it crashes in Foo::bar(), on doing an image lookup -vn Foo::bar I see something like this in the CompileUnit field:
/SomeBuildServer/user/build-user/path/to/Foo.cpp
which is essentially the path to the source code when the library was built. Is there a way to change/update the CompileUnit without actually compiling the library locally and then using it in the app?