diff --git a/HockeySDK.podspec b/HockeySDK.podspec index ab9fa6294c..fa978bd129 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -18,10 +18,10 @@ Pod::Spec.new do |s| s.source_files = 'Classes' s.requires_arc = true - s.preserve_paths = 'Resources', 'Support', 'Vendor' - s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CrashReporter', 'CoreGraphics', 'UIKit', 'Security' - s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/HockeySDK/Vendor"', - 'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\""} } + s.preserve_paths = 'Resources', 'Support' + s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CoreGraphics', 'UIKit', 'Security' + s.ios.vendored_frameworks = 'Vendor/CrashReporter.framework' + s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\""} } s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] } end \ No newline at end of file