forked from asmadsen/react-native-unity-view
-
Notifications
You must be signed in to change notification settings - Fork 1
/
react-native-unity-view.podspec
29 lines (24 loc) · 1.07 KB
/
react-native-unity-view.podspec
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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-unity-view"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
react-native-unity-view
DESC
s.homepage = "https://github.com/cartographr/react-native-unity-view"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "Andreas Storesund Madsen" => "[email protected]" }
s.platforms = { :ios => "9.0", :tvos => "10.0" }
s.source = { :git => "https://github.com/cartographr/react-native-unity-view.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm}"
s.public_header_files = 'ios/**/*.h'
# s.weak_frameworks = 'UnityFramework'
s.dependency "React"
s.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/../unityExport" "${PODS_CONFIGURATION_BUILD_DIR}"',
'OTHER_LDFLAGS[sdk=iphoneos*]' => '$(inherited) -framework UnityFramework ${PODS_LIBRARIES}'
}
end