-
Notifications
You must be signed in to change notification settings - Fork 7
/
Podfile
48 lines (36 loc) · 1.13 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
source 'https://github.com/CocoaPods/Specs.git'
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
workspace 'patchwork'
def shared_pods
pod 'YYModel'
pod 'FMDB'
pod 'BlocksKit/Core'
pod 'ASIHTTPRequest/Core'
pod 'Reachability'
pod 'ObjcAssociatedObjectHelpers/Core'
end
target 'patchwork' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
project 'patchwork.xcodeproj'
platform :ios, '7.0'
#platform :osx, '10.10'
shared_pods
target 'patchworkTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'patchwork-demo-osx' do
project 'Examples/patchwork-demo-osx/patchwork-demo-osx.xcodeproj'
platform :osx, '10.10'
shared_pods
pod 'patchwork-demo', :path => '.'
end
pre_install do
#system("sed -i '' '/UITextField/d' Pods/BlocksKit/BlocksKit/BlocksKit+UIKit.h")
#system('rm -f Pods/BlocksKit/BlocksKit/UIKit/UITextField+BlocksKit.h')
#system('rm -f Pods/BlocksKit/BlocksKit/UIKit/UITextField+BlocksKit.m')
system("sed -i '' '/BKMacros/d' Pods/BlocksKit/BlocksKit/BlocksKit.h")
end