mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix push notification error
This commit is contained in:
parent
8baea8c6c5
commit
f2e731b3f7
1 changed files with 10 additions and 2 deletions
12
Podfile
12
Podfile
|
|
@ -85,10 +85,18 @@ post_install do |installer|
|
|||
if target.name == 'linphone'
|
||||
target.build_configurations.each do |config|
|
||||
if ENV['USE_CRASHLYTHICS'].nil?
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) DEBUG=1'
|
||||
if config.name == "Debug" then
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) DEBUG=1'
|
||||
else
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited)'
|
||||
end
|
||||
else
|
||||
# activate crashlythics
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) DEBUG=1 USE_CRASHLYTHICSS=1'
|
||||
if config.name == "Debug" then
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) DEBUG=1 USE_CRASHLYTHICSS=1'
|
||||
else
|
||||
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) USE_CRASHLYTHICSS=1'
|
||||
end
|
||||
end
|
||||
app_project.save
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue