Skip to content
Browse files

Merge pull request #1518 from aharren/master

[Fix] LibComponentLogging-pods for CocoaPods 0.17 and 0.16
  • Loading branch information...
2 parents 659fb3b + ac6e7f7 commit fd7e04c6eb6384ec7e522f6ff5fbe706e2a6840a @aharren aharren committed Mar 18, 2013
Showing with 2 additions and 6 deletions.
  1. +2 −6 LibComponentLogging-pods/0.0.1/LibComponentLogging-pods.podspec
View
8 LibComponentLogging-pods/0.0.1/LibComponentLogging-pods.podspec
@@ -442,14 +442,10 @@ Pod::Spec.new do |s|
'PODS_BUILD_HEADERS_SEARCH_PATHS' => '"${PODS_ROOT}/.." "${PODS_ROOT}/LibComponentLogging-pods"' }
# add lcl_config to CocoaPods' config
- if not defined? config then
- # since CocoaPods 0.17, config is no longer defined, define it locally
- config = Config.instance
- end
- class << config
+ class << Config.instance
attr_accessor :lcl_config
end
- config.lcl_config = LibComponentLoggingPodsConfig.new(config)
+ Config.instance.lcl_config = LibComponentLoggingPodsConfig.new(Config.instance)
# make sure that we have at least the default configuration
def s.post_install(target)

0 comments on commit fd7e04c

Please sign in to comment.
Something went wrong with that request. Please try again.