diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index 549719f170f..edb53bc6297 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -915,7 +915,7 @@ SPEC CHECKSUMS: React-RCTVibration: 1a58f6ab1ae5fad004119979b676cb5e912f2e44 React-runtimeexecutor: 4b0c6eb341c7d3ceb5e2385cb0fdb9bf701024f3 ReactCommon: 632474905edd9a20ec4f4084142ff4b4a4f3fd8b - ScreenshotManager: ba35548b279a0ec9ea99b25f4e8cbb26164d2ac4 + ScreenshotManager: c5c6453f0227490e8610f405c79ecfe39b0114e4 Yoga: c0d06f5380d34e939f55420669a60fe08b79bd75 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 49c2c64cf06..b6f1e21d60d 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -160,7 +160,7 @@ def use_react_native_codegen!(spec, options={}) prefix = options[:react_native_path] ||= "../.." # Library name (e.g. FBReactNativeSpec) - library_name = options[:library_name] ||= "#{spec.name}Spec" + library_name = options[:library_name] ||= "#{spec.name.gsub('_','-').split('-').collect(&:capitalize).join}Spec" # Output dir, relative to podspec that invoked this method output_dir = options[:output_dir] ||= "#{library_name}"