-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPodfile
executable file
·34 lines (27 loc) · 1.24 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
platform :ios, '8.0' #links Foundation.framework for targets
target 'XmppSwift' do
use_frameworks!
# Pods for XmppSwift
pod 'Socket.swift', :path => '../SocketSwift/.'
pod 'Xml.swift', :path => '../XmlSwift/.'
target 'XmppSwiftTests' do
inherit! :search_paths
end
end
# Below lines are just to make project multi-platform. Ignore them
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['LD_RUNPATH_SEARCH_PATHS'] = '$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks'
config.build_settings['SUPPORTED_PLATFORMS'] = 'macosx appletvsimulator appletvos iphonesimulator iphoneos'
config.build_settings['TARGETED_DEVICE_FAMILY'] = '1,2,3,4'
config.build_settings['SDKROOT'] = ''
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
config.build_settings['TVOS_DEPLOYMENT_TARGET'] = '9.0'
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
end
end
installer.pod_targets.each do |group|
system "sed -i -e 's/UIKit/Foundation/g' '#{group.umbrella_header_path}' '#{group.prefix_header_path}'"
end
end