Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod Fail - #51

Open
blockcowboy opened this issue Oct 31, 2019 · 5 comments
Open

Pod Fail - #51

blockcowboy opened this issue Oct 31, 2019 · 5 comments

Comments

@blockcowboy
Copy link

[!] The RNBoundary pod failed to validate due to 1 error:
- ERROR | attributes: Missing required attribute homepage.
- WARN | source: The version should be included in the Git tag.
- WARN | description: The description is equal to the summary.

s.homepage = ""
Homepage "" , null throws pod install error.

Maybe Should be
s.homepage = "https://github.com/eddieowens/react-native-boundary/tree/master/ios"

This fixes bug for me, but I have to change it every time node_module updated ;(

@grubstarstar
Copy link

yeah experiencing the same.

@mathenge10
Copy link

go to node_modules/react-native-boundary/ios and select podspecfile and replace with @blockcowboy solution....works fine

@iAmita
Copy link

iAmita commented Jul 28, 2021

my problem was solved when replaced content in this file node_modules/react-native-boundry/iOS/RNBoundry.podspec

require 'json'

package = JSON.parse(File.read(File.join(dir, '../package.json')))

Pod::Spec.new do |s|
s.name = "RNBoundary"
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = "https://github.com/mikhailperemitko/react-native-boundary#readme"
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/eddieowens/react-native-boundary.git", :tag => "#{s.version}" }
s.source_files = "*.{h,m}"
s.requires_arc = true

s.dependency 'React'
end

@Biplovkumar
Copy link

Biplovkumar commented Nov 12, 2021

my problem was solved when replaced content in this file node_modules/react-native-boundry/iOS/RNBoundry.podspec

require 'json'

package = JSON.parse(File.read(File.join(dir, '../package.json')))

Pod::Spec.new do |s| s.name = "RNBoundary" s.version = package['version'] s.summary = package['description'] s.license = package['license']

s.authors = package['author'] s.homepage = "https://github.com/mikhailperemitko/react-native-boundary#readme" s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/eddieowens/react-native-boundary.git", :tag => "#{s.version}" } s.source_files = "*.{h,m}" s.requires_arc = true

s.dependency 'React' end

thanks @iAmita

Pod::Spec.new do |s|
  s.name         = "RNBoundary"
  s.version      = "1.0.0"
  s.summary      = "RNBoundary"
  s.description  = <<-DESC
                  RNBoundary
                   DESC
  s.homepage = "https://github.com/mikhailperemitko/react-native-boundary#readme"
  s.license      = "MIT"
  # s.license      = { :type => "MIT", :file => "FILE_LICENSE" }
  s.author             = { "author" => "author@domain.cn" }
  s.platform     = :ios, "7.0"
  s.source       = { :git => "https://github.com/author/RNBoundary.git", :tag => "master" }
  s.source_files  = "RNBoundary/**/*.{h,m}"
  s.requires_arc = true


  s.dependency "React"
  #s.dependency "others"

end

@chwasifjameel
Copy link

Is there a permanent solution for this? Otherwise, we have to do this everytime we setup the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants