Skip to content

Instantly share code, notes, and snippets.

@leohacker
Forked from fgarcia/gist:3968236
Last active August 29, 2015 14:14
Show Gist options
  • Save leohacker/e9b7adf66370cb9fae50 to your computer and use it in GitHub Desktop.
Save leohacker/e9b7adf66370cb9fae50 to your computer and use it in GitHub Desktop.
Podfile Sample
# vim:ft=Ruby
#
# Base Podfile template for projects targeting OSX and iOS
#
# Author: Francisco Garcia <[email protected]>
# https://github.com/fgarcia
#
# Last Update: 2012-11-28
# Is it possible to group all OSX and iOS apart?
# ... partial solution: choose one default platform (OSX)
# override the rest (iOS)
platform :osx
# Disable Pod warnings
# MOST of the time, they are not related with your project
inhibit_all_warnings!
# Default pods for every target
pod 'MagicalRecord'
pod 'CocoaLumberjack'
pod 'ConciseKit'
target :MyAppTests, :exclusive => true do
# exclusive to ignore default pods
#
# This is a testing target with "Bundle Loader" linking to a binary already
# compiled with all the default pods. The exclusive option prevents
# duplicated symbols
pod 'OCHamcrest'
pod 'OCMock'
end
target :MyAppOSXTests do
pod 'GHUnitOSX'
pod 'OCHamcrest'
pod 'OCMock'
end
target :MyAppTouch do
platform :ios
end
xcodeproj 'MyApp.xcodeproj'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment