lib/cocoapods-packager/builder.rb in ty-cocoapods-packager-1.5.11 vs lib/cocoapods-packager/builder.rb in ty-cocoapods-packager-1.5.12
- old
+ new
@@ -161,11 +161,11 @@
end
def build_with_mangling(platform, options)
UI.puts 'Mangling symbols'
defines = Symbols.mangle_for_pod_dependencies(@spec.name, @static_sandbox_root)
- defines << " OTHER_CFLAGS='" << @spec.consumer(platform).compiler_flags.join(' ') << "'"
+ defines << ' ' << @spec.consumer(platform).compiler_flags.join(' ')
UI.puts 'Building mangled framework'
xcodebuild(defines, options)
defines
end
@@ -179,10 +179,10 @@
FileUtils.rm_rf('Pods/build')
end
def compile(platform)
defines = "GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_#{@spec.name}=PodsDummy_PodPackage_#{@spec.name}'"
- defines << " OTHER_CFLAGS='" << @spec.consumer(platform).compiler_flags.join(' ') << "'"
+ defines << ' ' << @spec.consumer(platform).compiler_flags.join(' ')
if platform.name == :ios
options = ios_build_options
end