-
Notifications
You must be signed in to change notification settings - Fork 0
/
libgit2iOS.podspec
61 lines (51 loc) · 2.63 KB
/
libgit2iOS.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# Be sure to run `pod lib lint libgit2.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'libgit2iOS'
s.version = '0.1.2.6'
s.summary = 'libgit2 for iOS'
s.swift_version = '4.0'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
libgit2 iOS pod.
DESC
s.homepage = 'https://github.com/mewehk/libgit2'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Movie' => '100992222@qq.com' }
s.source = { :git => 'https://github.com/mewehk/libgit2.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
#s.source_files = 'libgit2iOS/git2/*.h'
#s.ios.vendored_library = 'libgit2iOS/libgit2-ios.a'
#s.preserve_paths = 'libgit2iOS/libgit2-ios.a'
#s.public_header_files = 'libgit2iOS/git2/*.h'
# s.source_files = 'libgit2iOS/libgit2iOS.framework/Headers/*.h'
#s.vendored_frameworks = 'libgit2iOS/libgit2iOS.framework'
#s.preserve_paths = 'libgit2iOS/libgit2iOS.framework/*'
#s.public_header_files = 'libgit2iOS/libgit2iOS.framework/Headers/*.h'
s.source_files = 'libgit2iOS/*.{swift,m,h}'
s.preserve_paths = 'libgit2iOS/dependencies'
s.ios.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => '"$(PODS_ROOT)/libgit2iOS/libgit2iOS/dependencies" "$(SRCROOT)/libgit2iOS/libgit2iOS/dependencies/git2"',
'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/libgit2iOS/libgit2iOS/dependencies"',
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/libgit2iOS/libgit2iOS/dependencies/git2"'
}
s.libraries = 'git2', 'z', 'iconv'
# s.resource_bundles = {
# 'libgit2' => ['libgit2/Assets/*.png']
# }
#s.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '$(POD_ROOT)/libgit2/git2', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
#s.user_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '$(POD_ROOT)/libgit2/git2', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end