Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ force_cast: warning # implicitly. Give warning only for force casting
force_try:
severity: warning # explicitly. Give warning only for force try

function_body_length:
- 100 # warning
- 120 # error

type_body_length:
- 300 # warning
- 400 # error
- 500 # error

# or they can set both explicitly
file_length:
Expand Down
33 changes: 20 additions & 13 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '11.0'


target 'Uplift' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'AlamofireImage'
pod 'Apollo', :git => 'https://github.com/apollographql/apollo-ios.git', :commit => 'b28c3dc'
pod 'Apollo'#, :git => 'https://github.com/apollographql/apollo-ios.git', :commit => 'b28c3dc'
pod 'AppDevAnnouncements', :git => 'https://github.com/cuappdev/appdev-announcements.git'
pod 'AppDevHistogram', :git => 'https://github.com/cuappdev/appdev-histogram.git'
pod 'Bartinter'
pod 'Crashlytics'
pod 'FLEX', '~> 2.0', :configurations => ['Debug']
pod 'Fabric'
pod 'Crashlytics' # TODO: - remove
pod 'Fabric' # TODO: - remove
pod 'Firebase/Analytics'
pod 'GoogleSignIn'
pod 'Kingfisher', '~> 4.0'
pod 'Presentation', :git=> 'https://github.com/cuappdev/Presentation.git', :commit => 'd4aa2d3ad5901f6ebce0727af592824982f88d13'
pod 'Kingfisher'
pod 'Presentation', :git=> 'https://github.com/cuappdev/Presentation.git', :commit => 'b53eb453d2e1520e724cfac5e3e444e730ffe985'
pod 'SideMenu', '~> 6.0'
pod 'SkeletonView'
pod 'SnapKit'
pod 'SwiftLint'
#pod 'FadingEdgesCollectionView', :git=> 'https://github.com/cuappdev/FadingEdgesCollectionView'
# target 'Uplift Tests' do
# inherit! :complete
# end
end




post_install do |installer|
installer.pods_project.targets.each do |target|
if ['Alamofire', 'Bartinter', 'SnapKit'].include?(target.name)
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11'
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end
end
Loading