forked from sylverb/NAStify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
80 lines (75 loc) · 4.32 KB
/
Podfile
File metadata and controls
80 lines (75 loc) · 4.32 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
source 'https://github.com/CocoaPods/Specs.git'
pod 'box-ios-sdk-v2', :git => 'https://github.com/box/box-ios-sdk-v2.git', :commit => '5b9af5c'
pod 'CocoaHTTPServer', '2.3'
pod 'DACircularProgress', :git => 'https://github.com/danielamitay/DACircularProgress.git', :commit => 'ccc7a2e'
pod 'MBProgressHUD', :git => 'https://github.com/jdg/MBProgressHUD.git', :commit => 'fc1903f'
pod 'OBSlider', '1.1.0'
pod 'PSTCollectionView', '1.2.3'
pod 'Google-API-Client/Drive', '1.0.418'
target 'NAStify' do
pod 'upnpx', '1.3.6'
pod 'Google-Mobile-Ads-SDK', '~> 7.0'
pod 'SSKeychain', :podspec => 'localpods/vendor/SSKeychain.podspec'
pod 'AFNetworking', :podspec => 'localpods/vendor/AFNetworking.podspec'
pod 'XMLDictionary', :podspec => 'localpods/vendor/XMLDictionary.podspec'
pod 'ISO8601DateFormatter', :podspec => 'localpods/vendor/ISO8601DateFormatter.podspec'
pod 'ELCImagePickerController', :git => 'https://github.com/B-Sides/ELCImagePickerController.git', :commit => 'b57e2f3'
pod 'iRate', '1.11.3'
pod 'objective-zip', '0.8.3'
pod 'MAConfirmButton', :git => 'https://github.com/gizmosachin/MAConfirmButton.git', :commit => 'cc15357'
# pod 'MKStoreKit', :head
pod 'LTHPasscodeViewController', '3.3.3'
end
target 'NAStify-DocProvider' do
pod 'upnpx', '1.3.6'
pod 'SSKeychain', :podspec => 'localpods/vendor/SSKeychain.podspec'
pod 'AFNetworking', :podspec => 'localpods/vendor/AFNetworking.podspec'
pod 'XMLDictionary', :podspec => 'localpods/vendor/XMLDictionary.podspec'
pod 'ISO8601DateFormatter', :podspec => 'localpods/vendor/ISO8601DateFormatter.podspec'
pod 'LTHPasscodeViewController', '3.3.3'
end
target 'NAStify-tvOS' do
platform :tvos, '9.0'
pod 'upnpx', '1.3.6'
pod 'SSKeychain', :podspec => 'localpods/vendor/SSKeychain.podspec'
pod 'AFNetworking', :podspec => 'localpods/vendor/AFNetworking.podspec'
pod 'XMLDictionary', :podspec => 'localpods/vendor/XMLDictionary.podspec'
pod 'ISO8601DateFormatter', :podspec => 'localpods/vendor/ISO8601DateFormatter.podspec'
pod 'xmlrpc'
pod 'SVProgressHUD', '2.0-beta'
end
# patched SDWebImage is depending on libRaw, need to find a way to include this in CocoaPod
#pod 'MWPhotoBrowser', :git => 'https://github.com/mwaterfall/MWPhotoBrowser.git', :commit => 'd68f9cd'
#pod 'SDWebImage', :git => 'https://github.com/rs/SDWebImage.git', :commit => 'd2da4d0'
# Apply patches
post_install do |installer|
puts 'Patching objective-zip to fix characters encoding issue'
%x(patch Pods/objective-zip/Objective-Zip/ZipFile.m < localpods/patches/ObjectiveZip-encoding-fix.patch)
puts 'Patching MBProgressHUD to add cancel button'
%x(patch -Np1 < localpods/patches/MBProgressHUD-add-cancel-button.patch)
puts 'Patching SSKeychain to add automatic AccessGroup filling'
%x(patch Pods/SSKeychain/SSKeychain/SSKeychain.m < localpods/patches/SSKeychain-automatic-accessgroup.patch)
puts 'Patching LTHPasscodeViewController to add automatic AccessGroup filling'
%x(patch -Np1 < localpods/patches/LTHPasscodeViewController-app-extension.patch)
puts 'Patching LTHPasscodeViewController to add saving of TouchID use preference'
%x(patch -Np1 < localpods/patches/LTHPasscodeViewController-touchid-save.patch)
# puts 'Patching MKStoreKit to fix various issues'
%x(patch -Np1 < localpods/patches/MKStoreKit-fixes.patch)
puts 'Patching MAConfirmationButton to add dynamic enable method'
%x(patch -Np1 < localpods/patches/MAConfirmationButton-add-dynamic-enable.patch)
puts 'Patching AFNetworking to add tvOS support'
%x(patch -Np1 < localpods/patches/AFNetworking-tvOS-support.patch)
# puts 'Patching SDWebImage to add RAW images decoding (using libRaw)'
# %x(patch -Np1 < localpods/patches/SDWebImage-add-libRaw-use.patch)
# puts 'Patching MWPhotoBrowser to allow to set SDImage download options'
# %x(patch -Np1 < localpods/patches/MWPhotoBrowser-allow-to-set-download-options.patch)
installer.pods_project.targets.each do |target|
puts "target #{target.name}"
if target.name.start_with? "Pods-NAStify-DocProvider-"
puts "define APP_EXTENSION for target #{target.name}"
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'APP_EXTENSION=1']
end
end
end
end