Commit 2c9862bd authored by Eloy Duran's avatar Eloy Duran

Make specs green, the xcconfig filename should not start with ${SRCROOT}.

parent 53946968
......@@ -50,7 +50,7 @@ describe Pod::Installer::UserProjectIntegrator do
it 'sets the Pods xcconfig as the base config for each build configuration' do
@podfile.target_definitions.each do |_, definition|
target = @sample_project.targets.where(:name => definition.link_with.first)
xcconfig_file = @sample_project.files.where(:path => "${SRCROOT}/Pods/#{definition.xcconfig_name}")
xcconfig_file = @sample_project.files.where(:path => "Pods/#{definition.xcconfig_name}")
target.build_configurations.each do |config|
config.base_configuration.should == xcconfig_file
end
......
......@@ -400,7 +400,7 @@ else
target = project.targets.first
target.build_configurations.each do |config|
config.base_configuration.path.should == '${SRCROOT}/Pods/Pods.xcconfig'
config.base_configuration.path.should == 'Pods/Pods.xcconfig'
end
target.frameworks_build_phases.first.files.should.include libPods
# should be the last phase
......
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