React native “该怎么办?”;资料来源;在podspec中,是否为私有托管的react本机库?

React native “该怎么办?”;资料来源;在podspec中,是否为私有托管的react本机库?,react-native,cocoapods,react-native-ios,React Native,Cocoapods,React Native Ios,我正在为ios开发一个私有的react本机库。 代码托管在私有git repo上,只有少数人可以访问。 我目前拥有的podspec文件如下: Pod::Spec.new do |s| s.name = "SomeName" s.version = "0.0.1" s.summary = "SomeSummary" s.description = <<-DESC SomeDescription

我正在为ios开发一个私有的react本机库。 代码托管在私有git repo上,只有少数人可以访问。 我目前拥有的podspec文件如下:


Pod::Spec.new do |s|
  s.name         = "SomeName"
  s.version      = "0.0.1"
  s.summary      = "SomeSummary"
  s.description  = <<-DESC
                  SomeDescription
                   DESC
  s.homepage     = "https://somehomepage.com"
  s.platform     = :ios, "9.0"
  s.source_files  = "*.{h,m}"
  s.requires_arc = true
  s.author       = "someAuthor"
  s.dependency "React"
end

在这种情况下,
源代码应该是什么?

源代码应该指定私有github回购。参见文档和示例

The `SomeName` pod failed to validate due to 1 error:
    - WARN  | attributes: Missing required attribute `license`.
    - ERROR | attributes: Missing required attribute `source`.
    - WARN  | license: Missing license type.
    - WARN  | description: The description is equal to the summary.