From 98003682ea76da2fb2aa3ffdd32e6234d88e90dd Mon Sep 17 00:00:00 2001 From: Kyle Fleming Date: Thu, 17 Jan 2013 18:26:03 -0800 Subject: [PATCH] Fix for preprocessor definitions using cocoapods --- HockeySDK.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HockeySDK.podspec b/HockeySDK.podspec index a8e0435867..f9eb7c3214 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.preserve_paths = 'Resources', 'Support', 'Vendor' s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CrashReporter', 'CoreGraphics', 'UIKit' s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/HockeySDK/Vendor"', - 'GCC_PREPROCESSOR_DEFINITIONS' => %{BITHOCKEY_VERSION="@\\"#{s.version}\\""} } + 'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\""} } def s.post_install(target_installer) puts "\nGenerating HockeySDK resources bundle\n".yellow if config.verbose?