mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Merge pull request #22 from garthex/develop
Fix for preprocessor definitions using cocoapods
This commit is contained in:
commit
d1b4d66e9b
@ -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