Created
May 25, 2016 18:09
-
-
Save mitchellporter/ed74efb22a5eccc59ef9947564346b6e to your computer and use it in GitHub Desktop.
Podfile template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://github.com/CocoaPods/Specs.git' | |
| use_frameworks! | |
| link_with 'APP_NAME_GOES_HERE' | |
| platform :ios, '8.0' | |
| inhibit_all_warnings! # These are all tweaks that were required once all of the Swift issues starting popping up | |
| target 'APP_NAME_GOES_HERE' do | |
| pod 'Parse' | |
| pod 'KGHitTestingViews' | |
| pod 'Device' | |
| # This makes sure that this pod is only used when debugging, and won't be used in release builds | |
| pod 'Reveal-iOS-SDK', :configurations => ['Debug'] | |
| # If you fork a github repo that has a pod, you can point directly to your fork on github | |
| pod 'ReachabilitySwift', :git => 'https://github.com/ashleymills/Reachability.swift' | |
| end | |
| # Disable bitcode for pods (caused errors in the past) | |
| post_install do |installer| | |
| installer.pods_project.targets.each do |target| | |
| target.build_configurations.each do |config| | |
| config.build_settings['ENABLE_BITCODE'] = 'NO' | |
| end | |
| end | |
| end | |
| # Fixes an issue with Facebook's pop animation library. Not sure if they've fixed it or not yet | |
| post_install do |installer| | |
| `find Pods -regex 'Pods/pop.*\\.h' -print0 | xargs -0 sed -i '' 's/\\(<\\)pop\\/\\(.*\\)\\(>\\)/\\"\\2\\"/'` | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment