Register App for Symbolication in XCode Profiler

前端 未结 6 1698
猫巷女王i
猫巷女王i 2021-02-04 03:00

I\'m trying to run XCode\'s time profiler on my app that is running on my device, but the symbol names show up like 0x2fe26643 instead of [MyClass myMethod]

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-04 03:11

    If you change the code signing identity for your "Release" build configuration from "Automatic Profile Selector: iPhone Distribution" to "Automatic Profile Selector: iPhone Development" (emphasis mine) then your app's binary will be listed in Instrument's Re-Symbolicate sheet and you can point it at your Derived Data folder.

提交回复
热议问题