Skip to content
Browse files

Some fixes for 0.17

  • Loading branch information...
1 parent 147b35d commit 368c0ca74e8891360d1a21acecdc9ed4f1316a73 @fabiopelosin fabiopelosin committed Feb 23, 2013
Showing with 7 additions and 3 deletions.
  1. +1 −1 ObjectiveMetrics/2.0/ObjectiveMetrics.podspec
  2. +6 −2 libextobjc/0.2.5/libextobjc.podspec
View
2 ObjectiveMetrics/2.0/ObjectiveMetrics.podspec
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
common_source_files = ['ObjectiveMetrics', 'Sparkle']
s.osx.source_files = common_source_files
- s.ios.source_files = common_source_files, 'TouchMetrics/UIDevice-Extension'
+ s.ios.source_files = common_source_files + ['TouchMetrics/UIDevice-Extension']
s.public_header_files = 'ObjectiveMetrics/DMTracker.h'
s.prefix_header_file = 'ObjectiveMetrics/ObjectiveMetrics-Prefix.pch'
View
8 libextobjc/0.2.5/libextobjc.podspec
@@ -5,14 +5,17 @@ Pod::Spec.new do |s|
s.homepage = "https://github.com/jspahrsummers/libextobjc"
s.author = { "Justin Spahr-Summers" => "jspahrsummers@github.com" }
s.source = { :git => "https://github.com/jspahrsummers/libextobjc.git", :tag => s.version.to_s }
- s.source_files = "extobjc/metamacros.h", "extobjc/EXTRuntimeExtensions.{h,m}"
s.requires_arc = true
- # Provided as a convenience but not requiring all the subspecs because it would be rendundant
+ # Provided as a convenience but not requiring all the subspecs because it would be redundant
s.subspec 'UmbrellaHeader' do |sp|
sp.source_files = "extobjc/extobjc.h"
end
+ s.subspec 'RuntimeExtensions' do |sp|
+ sp.source_files = "extobjc/metamacros.h", "extobjc/EXTRuntimeExtensions.{h,m}"
+ end
+
# List obtained from extobjc/extobjc.h
subspecs_names = %w[
EXTADT
@@ -50,6 +53,7 @@ Pod::Spec.new do |s|
s.subspec name do |sp|
sp.source_files = "extobjc/#{name}.{h,m}"
deps = subspec_dependencies[name] || []
+ sp.dependency 'libextobjc/RuntimeExtensions'
deps.each do |dep|
sp.dependency dep
end

0 comments on commit 368c0ca

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