forked from khoren93/SwiftHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
101 lines (80 loc) · 4.5 KB
/
Podfile
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
target 'SwiftHub' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!
# Pods for SwiftHub
# Networking
pod 'Moya/RxSwift', '~> 11.0' # https://github.com/Moya/Moya
pod 'ReachabilitySwift', '~> 4.0' # https://github.com/ashleymills/Reachability.swift
# Rx Extensions
pod 'RxDataSources', '~> 3.0' # https://github.com/RxSwiftCommunity/RxDataSources
pod 'RxSwiftExt', '~> 3.0' # https://github.com/RxSwiftCommunity/RxSwiftExt
pod 'NSObject+Rx', '~> 4.0' # https://github.com/RxSwiftCommunity/NSObject-Rx
pod 'RxViewController', '~> 0.3' # https://github.com/devxoul/RxViewController
pod 'RxGesture', '~> 2.0' # https://github.com/RxSwiftCommunity/RxGesture
pod 'RxOptional', '~> 3.0' # https://github.com/RxSwiftCommunity/RxOptional
pod 'RxTheme', '~> 2.0' # https://github.com/RxSwiftCommunity/RxTheme
#pod 'RxAnimated', '~> 0.4' # https://github.com/RxSwiftCommunity/RxAnimated
# JSON Mapping
pod 'ObjectMapper', :git => 'https://github.com/kajensen/ObjectMapper.git' # https://github.com/Hearst-DD/ObjectMapper
pod 'Moya-ObjectMapper/RxSwift', '~> 2.0' # https://github.com/ivanbruel/Moya-ObjectMapper
# Image
pod 'Kingfisher', '~> 4.0' # https://github.com/onevcat/Kingfisher
# Date
pod 'DateToolsSwift', '~> 4.0' # https://github.com/MatthewYork/DateTools
# pod 'SwiftDate', '5.0.9' # https://github.com/malcommac/SwiftDate
# Tools
pod 'R.swift', '5.0.0.alpha.1' #, '~> 4.0' # https://github.com/mac-cain13/R.swift
pod 'SwiftLint', '0.27.0' # https://github.com/realm/SwiftLint
# Keychain
pod 'KeychainAccess', '~> 3.0' # https://github.com/kishikawakatsumi/KeychainAccess
# Fabric
pod 'Fabric'
pod 'Crashlytics'
# UI
pod 'NVActivityIndicatorView', '~> 4.0' # https://github.com/ninjaprox/NVActivityIndicatorView
pod 'PMAlertController', '~> 3.5.0' # https://github.com/pmusolino/PMAlertController
pod 'ImageSlideshow/Kingfisher', '~> 1.0' # https://github.com/zvonicek/ImageSlideshow
pod 'DZNEmptyDataSet', '~> 1.0' # https://github.com/dzenbot/DZNEmptyDataSet
pod 'Hero', :git => 'https://github.com/HeroTransitions/Hero.git', :branch => 'swift-4.2' #, '~> 1.0' # https://github.com/lkzhao/Hero
pod 'Localize-Swift', '~> 2.0' # https://github.com/marmelroy/Localize-Swift
pod 'RAMAnimatedTabBarController', :git => 'https://github.com/khoren93/animated-tab-bar.git' #, '~> 3.0' # https://github.com/Ramotion/animated-tab-bar
pod 'AcknowList', '~> 1.7.0' # https://github.com/vtourraine/AcknowList
pod 'KafkaRefresh', '~> 1.0' # https://github.com/OpenFeyn/KafkaRefresh
# Keyboard
pod 'IQKeyboardManagerSwift', '~> 6.0' # https://github.com/hackiftekhar/IQKeyboardManager
# Color
pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git' # https://github.com/ViccAlexander/Chameleon
# Auto Layout
pod 'SnapKit', :git => 'https://github.com/khoren93/SnapKit.git' # https://github.com/SnapKit/SnapKit
# Code Quality
pod 'FLEX', '~> 2.0' # https://github.com/Flipboard/FLEX
pod 'SwifterSwift', '~> 4.6.0' # https://github.com/SwifterSwift/SwifterSwift
pod 'AttributedLib', :git => 'https://github.com/Nirma/Attributed.git' # https://github.com/Nirma/Attributed
# Logging
pod 'CocoaLumberjack/Swift', '~> 3.0' # https://github.com/CocoaLumberjack/CocoaLumberjack
# Analytics
pod 'Umbrella/Mixpanel', '~> 0.7' # https://github.com/devxoul/Umbrella
#pod 'Mixpanel-swift' # https://github.com/mixpanel/mixpanel-swift
target 'SwiftHubTests' do
inherit! :search_paths
# Pods for testing
end
target 'SwiftHubUITests' do
inherit! :search_paths
# Pods for testing
end
end
# Cocoapods optimization, always clean project after pod updating
post_install do |installer|
Dir.glob(installer.sandbox.target_support_files_root + "Pods-*/*.sh").each do |script|
flag_name = File.basename(script, ".sh") + "-Installation-Flag"
folder = "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
file = File.join(folder, flag_name)
content = File.read(script)
content.gsub!(/set -e/, "set -e\nKG_FILE=\"#{file}\"\nif [ -f \"$KG_FILE\" ]; then exit 0; fi\nmkdir -p \"#{folder}\"\ntouch \"$KG_FILE\"")
File.write(script, content)
end
end