要跟踪使用Delphi 10 Seattle
制作的iOS应用(iPad)的内存消耗,我使用XCode附带的Instruments
工具。特别是Allocations
工具。
该应用程序在独立运行和从Delphi调试时运行良好,但自升级到XCode 7
后,它将不再运行与仪器"分配" (它确实适用于XCode 6.x)。
iPad控制台会显示以下消息:
Oct 9 09:14:40 iPadMini-A7 DTServiceHub[574] <Error>: kernel symbolicator unable to open /mach.release.s5l8960x
Oct 9 09:14:40 iPadMini-A7 DTServiceHub[574] <Error>: Device Info Service was unable to create symbolicator for the kernel
Oct 9 09:14:40 iPadMini-A7 com.apple.xpc.launchd[1] (UIKitApplication:MyApp[0x4936][621]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Oct 9 09:14:40 iPadMini-A7 DTServiceHub[574] <Warning>: -[DTObjectAllocService startCollectionWithPid:]: Unable to configure target process for recording
Oct 9 09:14:40 iPadMini-A7 SpringBoard[53] <Warning>: Application 'UIKitApplication:MyApp[0x4936]' crashed.
Oct 9 09:14:41 iPadMini-A7 ReportCrash[622] <Notice>: Formulating report for corpse[621] MyApp
我该如何解决这个问题?