-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathPodfile
More file actions
23 lines (21 loc) · 802 Bytes
/
Podfile
File metadata and controls
23 lines (21 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use_frameworks!
target 'ImageKit_Example' do
pod 'ImageKitIO', :path => '../', :testspecs => ['Tests']
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
installer.pods_project.targets.each do |target|
if target.name == "Nimble"
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
new_xcconfig = xcconfig.sub('lswiftXCTest', 'lXCTestSwiftSupport')
File.open(xcconfig_path, "w") { |file| file << new_xcconfig }
end
end
end
end