Skip to content

Instantly share code, notes, and snippets.

@mitchellporter
Created May 25, 2016 18:09
Show Gist options
  • Select an option

  • Save mitchellporter/ed74efb22a5eccc59ef9947564346b6e to your computer and use it in GitHub Desktop.

Select an option

Save mitchellporter/ed74efb22a5eccc59ef9947564346b6e to your computer and use it in GitHub Desktop.
Podfile template
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