react-native-boundary
react-native-boundary copied to clipboard
Pod Fail -
[!] 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 ;(
yeah experiencing the same.
go to node_modules/react-native-boundary/ios and select podspecfile and replace with @blockcowboy solution....works fine
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
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" => "[email protected]" }
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
Is there a permanent solution for this? Otherwise, we have to do this everytime we setup the project.