我有一个pod库,该库在开发时对开发人员有帮助,但是在应用程序发布时却没有用,所以有什么对我有帮助的。
答案 0 :(得分:0)
在podfile中,我们需要添加配置以进行调试
pod 'podname', :configurations => ['Debug']
及以下版本
pod 'podname', :configurations => ['Release']
答案 1 :(得分:-1)
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'Your_App_Development' do
pod 'SomeDevOnlyPod', '~> 5.6'
end
希望有帮助!