现象 :显示不出来文件夹
解决方案:
Pod::Spec.new do |s|
s.name = 'x x x'
s.version = '0.0.1'
s.summary = '登录注册组件'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/x x x/KGLoginAndRegistComponent'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { '刘金壮' => '2272695360@qq.com' }
s.source = { :git => 'https://github.com/刘金壮/x x x', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.source_files = 'KGLoginAndRegistComponent/Classes/LoginAndRegistComponentHeader.h'
s.subspec 'Model' do |ss| ss.source_files = 'KGLoginAndRegistComponent/Classes/KGAddress__2.{h,m}'
end
s.subspec 'Utils' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGLoginUtils.{h,m}'
end
s.subspec 'Service' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGAboutLoginInterfaceMacro.h'
end
s.subspec 'Timer' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGTimerButton.{h,m}'
end
s.subspec 'KGautoLoginManager' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGautoLoginManager.{h,m}'
end
s.subspec 'View' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGLoginFooterView.{h,m}',
'KGLoginAndRegistComponent/Classes/KGPrivacyView__2.{h,m}',
'KGLoginAndRegistComponent/Classes/KGUserCountryCell.{h,m}'
end
s.subspec 'Base' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGAccountTool+KGExtension.{h,m}',
'KGLoginAndRegistComponent/Classes/KGDisableCopyTextView.{h,m}',
'KGLoginAndRegistComponent/Classes/KGLoginTextField.{h,m}'
end
s.subspec 'Controller' do |ss|
ss.source_files = 'KGLoginAndRegistComponent/Classes/KGCodeLoginVC__2.{h,m}',
'KGLoginAndRegistComponent/Classes/KGUserCountryVC__2.{h,m}',
'KGLoginAndRegistComponent/Classes/KGForgetPasswordVC__2.{h,m}',
'KGLoginAndRegistComponent/Classes/KGPswLoginVC.{h,m}',
'KGLoginAndRegistComponent/Classes/KGLoginMainVC__2.{h,m}',
'KGLoginAndRegistComponent/Classes/KGWxBindPhoneVC.{h,m}',
'KGLoginAndRegistComponent/Classes/KGPrivacyWebVC__2.{h,m}'
end
s.resource_bundles = {
'KGLoginAndRegistComponent' => ['KGLoginAndRegistComponent/Assets/*']
}
s.framework = 'CoreLocation'
s.frameworks = 'UIKit'
s.dependency 'KGShareAndLoginManager'解决后: