您想要在 Podfile 中添加类似于以下内容的代码:pod 'UIButton+SBAInspectableHitExtension', '~> 1.2'
target 'MyApp' do
pod 'UIButton+SBAInspectableHitExtension', '~> 1.2'
end
然后在终端中运行 pod install
,或者从 CocoaPods.app 中运行。
或者,为了测试运行,可以运行以下命令:
pod try UIButton+SBAInspectableHitExtension