PodFile设置
source ‘https://github.com/CocoaPods/Specs.git’
Uncomment the next line to define a global platform for your project
platform :ios, ‘8.0’
target ‘ImageDownload’ do
# Comment the next line if you’re not using Swift and don’t want to use dynamic frameworks
use_frameworks!
# Pods for ImageDownload
pod ‘Alamofire’, ‘~> 3.5.0’
target ‘ImageDownloadTests’ do
inherit! :search_paths
# Pods for testing
end
target ‘ImageDownloadUITests’ do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘SWIFT_VERSION’] = ‘2.3’
config.build_settings[‘MACOSX_DEPLOY