-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexpo-react-native-wechat-v2.podspec
More file actions
34 lines (27 loc) · 1.31 KB
/
expo-react-native-wechat-v2.podspec
File metadata and controls
34 lines (27 loc) · 1.31 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
27
28
29
30
31
32
33
# expo-react-native-wechat.podspec
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "expo-react-native-wechat-v2"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
expo-react-native-wechat-v2
DESC
s.homepage = "https://github.com/zeeklog/expo-react-native-wechat-v2"
# brief license entry:
s.license = "MIT"
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "zeeklog(copy from zeng-zhiming)" => "001@zeeklog.com" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/zeeklog/expo-react-native-wechat-v2.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}"
s.requires_arc = true
s.dependency "React"
s.dependency 'WechatOpenSDK-XCFramework'
# 添加微信SDK头文件搜索路径
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/WechatOpenSDK-XCFramework/WechatOpenSDK.xcframework/ios-arm64/WechatOpenSDK.framework/Headers" "${PODS_ROOT}/WechatOpenSDK-XCFramework/WechatOpenSDK.xcframework/ios-arm64_x86_64-simulator/WechatOpenSDK.framework/Headers"'
}
end