我使用我的私有pod库,完成运行pod安装后,发现丢失了一些配置文件,例如xxx.moulemap,xxx-umbrella.h

时间:2019-06-02 14:57:18

标签: ios swift cocoapods

我创建了一个私有pod库,一切正常,但是我发现与其他公共pod库有所不同,在安装我的库时,没有xxx.modulemap,xxx-umbrella.h,xxx-prefix.h和一些其它文件!我真的很想知道我想念什么,有人会告诉我吗?

我的podSpec文件

Pod::Spec.new do |s|
  s.name             = 'Trojan'
  s.version          = '0.0.7'
  s.summary          = 'A short description of Trojan.'

# 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://xxxxxxx'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'xxxx' => 'xxxx.com' }
  s.source           = { :git => 'http://gitlab.duokesoft.com/Repity/trojan.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.source_files = 'Trojan/Classes/**/*.{h,m}'

  s.vendored_frameworks = 'Trojan/Classes/**/*.framework'

  s.vendored_libraries = 'Trojan/Classes/**/*.a'

#  s.resource_bundles = {
#     'Trojan' => ['Trojan/Classes/**/*']
#   }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end

我只想知道我想念的东西,如何生成这些文件?

0 个答案:

没有答案