diff --git a/Podfile b/Podfile index 6b575d65..8efc842d 100644 --- a/Podfile +++ b/Podfile @@ -5,12 +5,13 @@ inhibit_all_warnings! target :santad do pod 'FMDB' - post_install do |rep| - rep.project.targets.each do |target| + post_install do |installer| + installer.pods_project.targets.each do |target| target.build_configurations.each do |config| if config.name != 'Release' then break end + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= '' config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] <<= "NDEBUG=1" end diff --git a/Podfile.lock b/Podfile.lock index 0687948c..6a4d60b8 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -14,4 +14,4 @@ SPEC CHECKSUMS: FMDB: 96e8f1bcc1329e269330f99770ad4285d9003e52 OCMock: a10ea9f0a6e921651f96f78b6faee95ebc813b92 -COCOAPODS: 0.36.3 +COCOAPODS: 0.38.0