Commit b20366fc authored by Eloy Duran's avatar Eloy Duran

Be sure to override the OTHER_LDFLAGS in the Pods project for the targets.

parent de99b446
......@@ -142,6 +142,7 @@ EOS
# Assign the xcconfig as the base config of each config.
@target.buildConfigurations.each do |config|
config.baseConfiguration = xcconfig_file
config.buildSettings['OTHER_LDFLAGS'] = ''
config.buildSettings['GCC_PREFIX_HEADER'] = prefix_header_filename
end
end
......
......@@ -117,7 +117,6 @@ else
end
end
if false
before do
FileUtils.cp_r(fixture('integration/.'), config.project_pods_root)
end
......@@ -169,7 +168,6 @@ if false
end
end
#if false
it "does not activate pods that are only part of other pods" do
spec = Pod::Podfile.new do
# first ensure that the correct info is available to the specs when they load
......@@ -182,8 +180,11 @@ if false
installer = SpecHelper::Installer.new(spec)
installer.install!
(config.project_pods_root + 'Reachability.podspec').should.exist
(config.project_pods_root + 'ASIHTTPRequest.podspec').should.not.exist
YAML.load(installer.lock_file.read).should == {
'PODS' => [{ 'Reachability (2.0.4)' => ["ASIHTTPRequest (>= 1.8)"] }],
'DOWNLOAD_ONLY' => ["ASIHTTPRequest (1.8.1)"],
'DEPENDENCIES' => ["Reachability"]
}
end
it "adds resources to the xcode copy script" do
......@@ -299,7 +300,7 @@ if false
phase.files.map { |buildFile| buildFile.file }.should.include libPods
# should be the last phase
target.buildPhases.last.shellScript.should == "${SRCROOT}/Pods/Pods-resources.sh\n"
target.buildPhases.last.shellScript.should == %{"${SRCROOT}/Pods/Pods-resources.sh"\n}
end
end
......@@ -307,4 +308,3 @@ if false
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment