这是我的podspec:
Pod::Spec.new do |s|
s.name = "MyCBDLumberJack"
s.version = "0.0.1"
s.source = { :git => 'https://me@bitbucket.org/me/mycbdlumberjack.git',
:tag => "#{s.version}" }
s.source_files = 'MyCBDLumberJack/My Lumberjack/**/*.{h,m}'
s.public_header_files = 'MyCBDLumberJack/**/InitializationCocoaLumberjack.h'
s.resource = "MyCBDLumberJack/Help_MyCBDLumberJack.rtfd"
s.ios.platform = :ios, '5.0'
s.osx.platform = :osx, '10.7'
s.requires_arc = true
s.osx.framework = 'AppKit'
s.ios.framework = 'UIKit'
s.prefix_header_contents = '#import "DDLog.h"'
s.dependency 'CocoaLumberjack', '~>1.8'
end
但是,我没有看到任何结果。 #import "DDLog.h"
中未显示Pods-MyCBDLumberJack-prefix.pch
。
我看错了地方吗?
PS:似乎在linting时包含该行,但是当我将pod包含在项目中时不包括该行...
答案 0 :(得分:0)
那是我的错。我path
的{{1}}错误了......