How to match precompiled static library's debugging symbols to source code with Xcode 5?

后端 未结 1 424
小蘑菇
小蘑菇 2021-01-03 00:19

I have to compile FFmpeg for iOS using an external build script, but when I am debugging I see assembler if I delve too deep into libavformat library functions:



        
相关标签:
1条回答
  • 2021-01-03 00:45

    So it appears that the issue is that I was compiling libavcodec.a, libavformat.a, etc into a single static library in my FFmpegWrapper project (libFFmpegWrapper.a), which I was then including as a static library in the containing project called LiveStreamer. Moving the .a files and adding the source files (not added to the build target) to the LiveStreamer project fixed the issue.

    If anyone runs into this in the future, feel free to drop me a line because I was struggling with this for days.

    0 讨论(0)
提交回复
热议问题