Can I debug iOS app installed from IPA archive?

前端 未结 3 1162
醉梦人生
醉梦人生 2020-12-24 15:08

I m having some problem with my app which reproduces only when i install it ad hoc, but doesn\'t reproduce if i just run the app from Xcode. I would like to debug this prob

3条回答
  •  春和景丽
    2020-12-24 15:56

    Jim Ingham, thanks for your answers.

    I found the reason why i was unable to debug into static libraries. In each Xcode project, there is a setting called "Strip Linked Product" under "Deployment" section. In all my projects this setting was set to "Yes".

    In order to debug into static libraries for an app built by archiving, i set this setting to "No" in each dependent library project (as well as the main project). This can also be set differently for Debug/Release modes. After this, i see the library symbols built during archiving and i m able to debug into library code. I hope this helps someone.

    Unfortunately (or maybe fortunately) the bug i was trying to debug no longer reproduces when the library symbols are not stripped. Maybe something happens when the symbols are stripped, i will need to investigate further.

提交回复
热议问题