-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathReactNativeIosAdaptiveModal.podspec
More file actions
33 lines (26 loc) · 978 Bytes
/
Copy pathReactNativeIosAdaptiveModal.podspec
File metadata and controls
33 lines (26 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require 'json'
package = JSON.parse(File.read(File.join(__dir__, './', 'package.json')))
Pod::Spec.new do |s|
s.name = 'ReactNativeIosAdaptiveModal'
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.license = package['license']
s.author = package['author']
s.homepage = package['homepage']
s.platform = :ios, '13.0'
s.swift_version = '5.4'
s.source = { git: 'https://github.com/dominicstop/react-native-ios-adaptive-modal' }
s.static_framework = true
s.dependency 'ExpoModulesCore'
s.dependency 'ReactNativeIosUtilities'
s.dependency 'DGSwiftUtilities'
s.dependency 'ComputableLayout'
s.dependency 'AdaptiveModal', '~> 2.0'
# Swift/Objective-C compatibility
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule'
}
s.source_files = "ios/**/*.{h,m,swift}"
end