Skip to content

Commit d1bf9b5

Browse files
authored
Fix Podfile
Podfile wrongly referenced `package` instead of `package_json`, so Cocoa Pods fails with an error: ``` Invalid `react-native-simple-crypto.podspec` file: undefined local variable or method `package' for Pod:Module ``` This fixes the problem. It works beautifully otherwise, even in RN 0.60.x. Thanks!
1 parent 97b51c2 commit d1bf9b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

react-native-simple-crypto.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Pod::Spec.new do |s|
55
s.name = package_json["name"]
66
s.version = package_json["version"]
77
s.summary = package_json["description"]
8-
s.author = package["author"]
8+
s.author = package_json["author"]
99
s.license = package_json["license"]
1010
s.requires_arc = true
11-
s.homepage = package["homepage"]
11+
s.homepage = package_json["homepage"]
1212
s.source = { :git => "#{package_json["repository"]["url"]}" }
1313
s.platform = :ios, '8.0'
1414
s.source_files = "ios/**/*.{h,m}"

0 commit comments

Comments
 (0)