-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathRNAKakaoSDK.podspec
49 lines (37 loc) · 1.43 KB
/
RNAKakaoSDK.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "RNAKakaoSDK"
s.version = package['version']
s.summary = package['description']
s.authors = { "Actbase LLC" => "[email protected]" }
s.homepage = package['homepage']
s.license = package['license']
s.platform = :ios, "11.0"
s.framework = 'MobileCoreServices'
s.requires_arc = true
s.source = { :git => package['repository']['url'] }
s.source_files = "ios/*.{h,m,swift}"
s.swift_version = '5.1'
s.ios.deployment_target = '11.0'
s.ios.framework = 'MobileCoreServices'
s.dependency 'React'
s.dependency 'React-Core'
s.dependency 'KakaoSDKCommon', '2.11.1'
s.dependency 'KakaoSDKAuth', '2.11.1'
s.dependency 'KakaoSDKUser', '2.11.1'
s.dependency 'KakaoSDKTalk', '2.11.1'
s.dependency 'KakaoSDKShare', '2.11.1'
s.dependency 'KakaoSDKTemplate', '2.11.1'
s.xcconfig = {
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES" => "YES",
"EMBEDDED_CONTENT_CONTAINS_SWIFT" => "YES",
"BUILD_LIBRARY_FOR_DISTRIBUTION" => "YES"
}
s.pod_target_xcconfig = {
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES" => "YES",
"EMBEDDED_CONTENT_CONTAINS_SWIFT" => "YES",
"BUILD_LIBRARY_FOR_DISTRIBUTION" => "YES"
}
# s.pod_target_xcconfig = { 'SWIFT_OBJC_BRIDGING_HEADER' => '${PODS_TARGET_SRCROOT}/ios/RNAKakaoSDK-Bridging-Header.h' }
end