From c6b389a25447b3611df81587b2a83ed5a7656be7 Mon Sep 17 00:00:00 2001 From: Clemens Helm Date: Mon, 7 Jul 2014 17:55:33 +0200 Subject: [PATCH] Quote framework search paths POD_ROOTS could be expanded to a path with spaces which would break the path. Quoting the path avoids that. --- OpenCV.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCV.podspec b/OpenCV.podspec index 69b99de..a744a64 100644 --- a/OpenCV.podspec +++ b/OpenCV.podspec @@ -77,5 +77,5 @@ Pod::Spec.new do |s| s.libraries = 'c++', 'stdc++' s.frameworks = 'opencv2', 'Accelerate', 'AssetsLibrary', 'AVFoundation', 'CoreGraphics', 'CoreImage', 'CoreMedia', 'CoreVideo', 'Foundation', 'QuartzCore', 'UIKit' - s.xcconfig = {'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/OpenCV', 'OTHER_LDFLAGS' => '-all_load'} + s.xcconfig = {'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PODS_ROOT)/OpenCV"', 'OTHER_LDFLAGS' => '-all_load'} end