178e5bd9dSEric Samelsonrequire 'json' 278e5bd9dSEric Samelson 378e5bd9dSEric Samelsonpackage = JSON.parse(File.read(File.join(__dir__, '..', 'package.json'))) 478e5bd9dSEric Samelson 578e5bd9dSEric SamelsonPod::Spec.new do |s| 678e5bd9dSEric Samelson s.name = 'EXUpdatesInterface' 778e5bd9dSEric Samelson s.version = package['version'] 878e5bd9dSEric Samelson s.summary = package['description'] 978e5bd9dSEric Samelson s.description = package['description'] 1078e5bd9dSEric Samelson s.license = package['license'] 1178e5bd9dSEric Samelson s.author = package['author'] 1278e5bd9dSEric Samelson s.homepage = package['homepage'] 13*ef901781SDouglas Lowder s.platforms = { :ios => '13.0', :tvos => '13.0' } 14dc8da8afSWill Schurman s.swift_version = '5.4' 1578e5bd9dSEric Samelson s.source = { git: 'https://github.com/expo/expo.git' } 169886c0aaSKudo Chien s.static_framework = true 17dc8da8afSWill Schurman s.source_files = 'EXUpdatesInterface/**/*.{h,m,swift}' 189886c0aaSKudo Chien 19dc8da8afSWill Schurman # Swift/Objective-C compatibility 209886c0aaSKudo Chien s.pod_target_xcconfig = { 21dc8da8afSWill Schurman 'GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS' => 'YES', 22dc8da8afSWill Schurman 'GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS' => 'YES', 239886c0aaSKudo Chien 'DEFINES_MODULE' => 'YES', 24dc8da8afSWill Schurman 'SWIFT_COMPILATION_MODE' => 'wholemodule' 25dc8da8afSWill Schurman } 26a61b5e5aSKudo Chien s.user_target_xcconfig = { 27a61b5e5aSKudo Chien 'HEADER_SEARCH_PATHS' => '"${PODS_CONFIGURATION_BUILD_DIR}/EXUpdatesInterface/Swift Compatibility Header"', 289886c0aaSKudo Chien } 2978e5bd9dSEric Samelsonend 30