<commit_before>require 'json'

# expect package.json in current dir
package_json_filename = File.expand_path("./package.json", __dir__)

# load the spec from package.json
spec = JSON.load(File.read(package_json_filename))

Pod::Spec.new do |s|
  s.name             = spec['name']
  s.version          = spec['version']
  s.summary          = spec['description']
  s.requires_arc = true
  s.authors      = {
                     'rt2zz' => '<EMAIL>',
                     '<NAME>' => '<EMAIL>'
                   }
  s.license      = spec['license']
  s.homepage     = spec['homepage']
  s.platform     = :ios, "9.0"
  s.source       = { spec['repository']['type'].to_sym => spec['repository']['url'].sub(/^[a-z]+\+/, '') }
  s.source_files = [ "ios/*.h", "ios/*.m"]
  s.compiler_flags = %[-DRNBRANCH_VERSION=@\\"#{s.version}\\"]
  s.header_dir   = 'RNBranch' # also sets generated module name
  s.dependency 'Branch', '1.40.2'
  s.dependency 'React' # to ensure the correct build order
  
  # Swift/Objective-C compatibility
  s.pod_target_xcconfig = {
    'DEFINES_MODULE' => 'YES'
  }
end<commit_msg>Use React-Core instead of React<commit_after>require 'json'

# expect package.json in current dir
package_json_filename = File.expand_path("./package.json", __dir__)

# load the spec from package.json
spec = JSON.load(File.read(package_json_filename))

Pod::Spec.new do |s|
  s.name             = spec['name']
  s.version          = spec['version']
  s.summary          = spec['description']
  s.requires_arc = true
  s.authors      = {
                     'rt2zz' => '<EMAIL>',
                     '<NAME>' => '<EMAIL>'
                   }
  s.license      = spec['license']
  s.homepage     = spec['homepage']
  s.platform     = :ios, "9.0"
  s.source       = { spec['repository']['type'].to_sym => spec['repository']['url'].sub(/^[a-z]+\+/, '') }
  s.source_files = [ "ios/*.h", "ios/*.m"]
  s.compiler_flags = %[-DRNBRANCH_VERSION=@\\"#{s.version}\\"]
  s.header_dir   = 'RNBranch' # also sets generated module name
  s.dependency 'Branch', '1.40.2'
  s.dependency 'React-Core' # to ensure the correct build order
  
  # Swift/Objective-C compatibility
  s.pod_target_xcconfig = {
    'DEFINES_MODULE' => 'YES'
  }
end
{'fraction_non_alphanumeric': 0.17512348450830714, 'fraction_numerical': 0.006286484059272564, 'mean_word_length': 2.5648, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4198687', 'n_tokens_mistral': 773, 'n_tokens_neox': 762, 'n_words': 147}