1、使用pod工具在项目里面添加CocoaDebug的SDK。
objectivec
platform :ios, '11.0'
target 'ShopService' do
project 'ShopService'
use_frameworks!
pod 'CocoaDebug', :configurations => ['Debug']
end
2、之后就可以在项目里面看到效果了
APP上显示的是一个黑色背景的小圆圈。

上面39表示调用了39个api。点击小圆圈,打开就是下面的页面。

