forked from authgear/authgear-sdk-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdd-OTHER_LDFLAGS-ObjC.podspec
More file actions
27 lines (27 loc) · 1.06 KB
/
Add-OTHER_LDFLAGS-ObjC.podspec
File metadata and controls
27 lines (27 loc) · 1.06 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
Pod::Spec.new do |s|
s.name = 'Add-OTHER_LDFLAGS-ObjC'
s.version = '1.0.0'
s.summary = 'Add -ObjC by stating this is a static_framework'
s.description = 'Add -ObjC by stating this is a static_framework'
s.platforms = { :ios => '8.0' }
s.authors = {
'dummy' => 'user@example.com',
}
s.license = 'MIT'
s.homepage = 'https://example.com'
s.source = {
:type => 'zip',
:http => 'http://dldir1.qq.com/WechatWebDev/opensdk/XCFramework/OpenSDK2.0.4.zip',
}
# This is why this file exists.
# The project needs at least one static_framework so that Cocoapods
# will include -ObjC in OTHER_LDFLAGS.
# Note that -ObjC is so special that you cannot add it with post_install hook.
# -ObjC can only be added this way.
#
# The reason why -ObjC is needed is documented here.
# https://developers.weixin.qq.com/community/develop/article/doc/000e8e316d4590c7ef92ec1a366c13
s.static_framework = true
# Yes, this file does not actually exist, but Cocoapods does not complain.
s.source_files = 'dummy.h'
end