forked from alibaba/coobjc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coobjc.podspec
33 lines (26 loc) · 1.14 KB
/
coobjc.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
Pod::Spec.new do |s|
s.name = "coobjc"
s.version = "1.0.0"
s.summary = "Coroutine support for Objective-C"
s.description = <<-DESC
This library provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc
DESC
s.homepage = "http://github.com/alibaba/coobjc"
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Alibaba-INC copyright
LICENSE
}
s.author = { "pengyutang125" => "[email protected]" }
s.platform = :ios
s.ios.deployment_target = '8.0'
s.requires_arc = true
s.source = { :git => "[email protected]:alibaba/coobjc.git", :branch => 'master' }
s.source_files = 'coobjc/**/*.{h,m,s,c,mm}'
s.subspec 'no-arc' do |sna|
sna.requires_arc = false
sna.source_files = ['coobjc/util/co_tuple.m', 'coobjc/objc/co_autorelease.mm']
end
s.dependency 'fishhook'
end