platform :ios, '8.0' target 'total' do pod 'Masonry', '~> 1.0.1' pod 'AFNetworking', '~> 2.5.4’ pod 'SDWebImage', '~> 3.7.2' pod 'MBProgressHUD', '~> 0.9.1' pod 'SSKeychain', '~> 1.2.3' pod 'FMDB', '~> 2.5' pod 'Base64nl', '~> 1.2' pod 'Reveal-iOS-SDK', '~> 1.5.1' pod 'IQKeyboardManager', '~> 3.2.3' pod 'JPushSDK', '~> 1.8.2' pod 'RETableViewManager', '~> 1.6' pod 'YLProgressBar', '~> 3.8.1' pod 'WYPopoverController', '~> 0.3.9' pod 'JSONModel', '~> 1.7.0' pod 'DZNEmptyDataSet', '~> 1.8.1' pod 'YXKit', '~> 0.0.8’ pod 'AliyunOSSiOS', '~> 2.6.1' pod 'FLAnimatedImage', '~> 1.0.12' pod 'M13ProgressSuite', '~> 1.2.9' pod 'ReactiveObjC', '~> 3.0.0' pod 'DACircularProgress', '~> 2.3.1' pod 'DBCamera', '~> 2.4.1' pod 'YXPickerView', '~> 0.0.4' pod 'YXAlertController' pod 'BaiduMapKit', '~> 3.3.2' pod 'RadioButton', '~> 1.0' pod 'FDFullscreenPopGesture', '~> 1.1' pod 'MZFormSheetPresentationController', '~> 2.4.2' end post_install do |installer| copy_pods_resources_path = "Pods/Target Support Files/Pods-total/Pods-total-resources.sh" string_to_replace = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"' assets_compile_with_app_icon_arguments = '--compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${BUILD_DIR}/assetcatalog_generated_info.plist"' text = File.read(copy_pods_resources_path) new_contents = text.gsub(string_to_replace, assets_compile_with_app_icon_arguments) File.open(copy_pods_resources_path, "w") {|file| file.puts new_contents } end