mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Fix for preprocessor definitions using cocoapods
This commit is contained in:
parent
78b2127a92
commit
98003682ea
@ -21,7 +21,7 @@ Pod::Spec.new do |s|
|
|||||||
s.preserve_paths = 'Resources', 'Support', 'Vendor'
|
s.preserve_paths = 'Resources', 'Support', 'Vendor'
|
||||||
s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CrashReporter', 'CoreGraphics', 'UIKit'
|
s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CrashReporter', 'CoreGraphics', 'UIKit'
|
||||||
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/HockeySDK/Vendor"',
|
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)
|
def s.post_install(target_installer)
|
||||||
puts "\nGenerating HockeySDK resources bundle\n".yellow if config.verbose?
|
puts "\nGenerating HockeySDK resources bundle\n".yellow if config.verbose?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user