-
Notifications
You must be signed in to change notification settings - Fork 12
/
Podfile
39 lines (33 loc) · 1.29 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
35
36
37
38
use_frameworks!
def shared_pods
pod 'Spring', :git => 'https://github.com/MengTo/Spring.git'
pod 'MBProgressHUD'
pod 'SDWebImage', '~> 3.7.3'
pod 'Alamofire'
pod 'Fabric'
pod 'Crashlytics', '~> 3.8'
pod 'RealmSwift'
pod 'HTTPStatusCodes', '~> 3.1.0'
pod 'DateToolsSwift'
pod 'PopupDialog', '~> 0.6'
pod 'Firebase/Core'
end
target 'Emojilist' do
shared_pods
target 'EmojilistTests' do
inherit! :search_paths
end
target 'EmojilistUITests' do
inherit! :search_paths
end
end
#post_install do |installer|
# installer.aggregate_targets.each do |target|
# copy_pods_resources_path = "Pods/Target Support Files/#{target.name}/#{target.name}-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
#end