Skip to content

Instantly share code, notes, and snippets.

@yahmad
Created August 1, 2017 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yahmad/f7702ab61ef4faa93415a94ea5415b39 to your computer and use it in GitHub Desktop.
Save yahmad/f7702ab61ef4faa93415a94ea5415b39 to your computer and use it in GitHub Desktop.
Example of a Podfile resulting in errors due to classes implemented in multiple targets (https://github.com/CocoaPods/CocoaPods/issues/6918)
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'EarthCore' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for EarthCore
pod 'Firebase', '~> 4.0', :subspecs => ['Core', 'Database', 'Messaging', 'Auth', 'Storage', 'Performance']
target 'EarthCoreTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'Earthlings' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Earthlings
target 'EarthlingsTests' do
inherit! :search_paths
# Pods for testing
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment