-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsurveymonkey-react-native.podspec
More file actions
26 lines (21 loc) · 1.03 KB
/
surveymonkey-react-native.podspec
File metadata and controls
26 lines (21 loc) · 1.03 KB
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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
Pod::Spec.new do |s|
s.name = "surveymonkey-react-native"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.author = package["author"]
s.platform = :ios, "13.0"
s.source = { :git => package["repository"]["url"], :tag => s.version }
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.swift_version = "5.5"
# Use install_modules_dependencies helper to install the dependencies if we're running on a new architecture project.
# This will automatically pull React-Codegen and setup both dependencies properly.
install_modules_dependencies(s)
s.dependency "surveymonkey-ios-sdk", "~> 2.1"
# Deployment target must be iOS 13.0+ for scene support and modern Swift features
s.ios.deployment_target = '13.0'
end