From 249df435c72a175e288c2ab26ed51cd91edfe3f7 Mon Sep 17 00:00:00 2001 From: Matt Magoffin Date: Thu, 7 May 2015 10:31:49 +1200 Subject: [PATCH 1/3] Don't optimize CocoaPods sample project debug builds re #3 --- .../SampleCocoaPodsProject.xcodeproj/project.pbxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/SampleCocoaPodsProject/SampleCocoaPodsProject.xcodeproj/project.pbxproj b/SampleCocoaPodsProject/SampleCocoaPodsProject.xcodeproj/project.pbxproj index b0863f5..7311862 100644 --- a/SampleCocoaPodsProject/SampleCocoaPodsProject.xcodeproj/project.pbxproj +++ b/SampleCocoaPodsProject/SampleCocoaPodsProject.xcodeproj/project.pbxproj @@ -359,6 +359,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "SampleCocoaPodsProject/SampleCocoaPodsProject-Prefix.pch"; INFOPLIST_FILE = "SampleCocoaPodsProject/SampleCocoaPodsProject-Info.plist"; From 2836f5891008d35ee587201ed6958bf558dea7a8 Mon Sep 17 00:00:00 2001 From: Matt Magoffin Date: Thu, 7 May 2015 11:00:44 +1200 Subject: [PATCH 2/3] Don't force -O1 optimization flag in Podspec, as this applies to Debug as well as Release builds, re #3. The reason for this flag in the first place was some inconsistent crashing in CLucene we witnessed a long time ago that went away when we changed from the default optimization level -Os to -O1. Projects can still set this at the target level, if needed, which seems like a more appropriate place than at the Podspec level. --- BRFullTextSearch.podspec | 1 - 1 file changed, 1 deletion(-) diff --git a/BRFullTextSearch.podspec b/BRFullTextSearch.podspec index 59c4a90..e51e341 100644 --- a/BRFullTextSearch.podspec +++ b/BRFullTextSearch.podspec @@ -30,7 +30,6 @@ Pod::Spec.new do |s| s.xcconfig = { 'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++98', 'CLANG_CXX_LIBRARY' => 'libstdc++', - 'GCC_OPTIMIZATION_LEVEL' => '1', 'OTHER_LDFLAGS' => '-stdlib=libstdc++', } From 83c2611a20283b946ec46ac36ff0016a822d5702 Mon Sep 17 00:00:00 2001 From: Matt Magoffin Date: Thu, 7 May 2015 11:01:30 +1200 Subject: [PATCH 3/3] Bump pod version. --- BRFullTextSearch.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BRFullTextSearch.podspec b/BRFullTextSearch.podspec index e51e341..1084dba 100644 --- a/BRFullTextSearch.podspec +++ b/BRFullTextSearch.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "BRFullTextSearch" - s.version = "1.0.6" + s.version = "1.0.7" s.summary = "iOS Objective-C full text search engine." s.description = <<-DESC This project provides a way to integrate full-text search