Podfile 866 Bytes
Newer Older
1
2
3
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
Zach Knox's avatar
Zach Knox committed
4
platform :ios, '11.0'
5
6
use_frameworks!

Zach Knox's avatar
Zach Knox committed
7
8
def ios_pods
  pod 'RealmSwift'
Zach Knox's avatar
Zach Knox committed
9

Zach Knox's avatar
Zach Knox committed
10
11
  pod 'ObjectMapper', '~> 3.0'
  pod "ObjectMapper+Realm"
12

Zach Knox's avatar
Zach Knox committed
13
  #pod 'Segmentio', '~> 2.1'
14

Zach Knox's avatar
Zach Knox committed
15
  pod 'DeckTransition', '~> 1.4.0'
16

Zach Knox's avatar
Zach Knox committed
17
18
19
  pod 'Fabric'
  pod 'Crashlytics'
end
20

21

Zach Knox's avatar
Zach Knox committed
22
23
24
target 'WhatsOpen' do
  ios_pods
end
Zach Knox's avatar
Zach Knox committed
25

Zach Knox's avatar
Zach Knox committed
26
27
target 'WhatsOpen - AppStore' do
  ios_pods
28
29
30
end


31
32
33
post_install do |installer|
   installer.pods_project.targets.each do |target|
     target.build_configurations.each do |config|
34
       config.build_settings['SWIFT_VERSION'] = '3.1'
35
36
     end
   end
37
38
39
40
  require 'fileutils'
  FileUtils.cp_r('Pods/Target Support Files/Pods-WhatsOpen/Pods-WhatsOpen-Acknowledgements.plist', 'WhatsOpen/Settings.bundle/Acknowledgements.plist', :remove_destination => true)

end