Я совершенно новичок в какао-стручках. Пока у моего подфайла было это в конце:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
s = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS']
if s==nil then s = [ '$(inherited)' ] end
s.push('MR_ENABLE_ACTIVE_RECORD_LOGGING=0');
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = s
end
end
end
Теперь мне нужно добавить:
post_install do |installer_representation|
installer_representation.pods_project.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'NO'
end
end
Но оба одновременно выдают ошибку, так как у меня два ордера post_install. Как я могу записать их в один?