1require 'json'
2
3package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
4
5Pod::Spec.new do |s|
6  s.name           = 'ExpoFileSystem'
7  s.version        = package['version']
8  s.summary        = package['description']
9  s.description    = package['description']
10  s.license        = package['license']
11  s.author         = package['author']
12  s.homepage       = package['homepage']
13  s.platforms       = { :ios => '13.0', :tvos => '13.0'}
14  s.swift_version  = '5.4'
15  s.source         = { :git => 'https://github.com/expo/expo.git' }
16  s.static_framework = true
17
18  s.dependency 'ExpoModulesCore'
19
20  # Swift/Objective-C compatibility
21  s.pod_target_xcconfig = {
22    'DEFINES_MODULE' => 'YES'
23  }
24
25  s.source_files = "**/*.{h,m,swift}"
26
27  s.exclude_files = 'Tests/'
28  s.test_spec 'Tests' do |test_spec|
29    test_spec.dependency 'ExpoModulesTestCore'
30    test_spec.source_files = 'Tests/**/*.{m,swift}'
31  end
32end
33