-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathPodfile
38 lines (33 loc) · 933 Bytes
/
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
def shared_pods
pod 'Realm'
pod 'PathKit'
pod 'CSwiftV'
end
target 'RealmConverterMacOS' do
use_frameworks!
platform :osx, '10.9'
shared_pods
pod 'TGSpreadsheetWriter'
target 'RealmConverterTestsMacOS' do
inherit! :search_paths
end
end
target 'RealmConverteriOS' do
use_frameworks!
platform :ios, '10.0'
shared_pods
target 'RealmConverterTestsiOS' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
if config.name == 'RealmConverterTestsiOS'
config.build_settings['SUPPORTED_PLATFORMS[sdk=iphonesimulator*]'] = iphonesimulator
end
end
end
end