Commit fb8aa983 authored by Cédric Luthi's avatar Cédric Luthi

Use the build configurations from the Podfile for the Pods project

parent aa294a77
...@@ -285,7 +285,7 @@ module Pod ...@@ -285,7 +285,7 @@ module Pod
# #
def prepare_pods_project def prepare_pods_project
UI.message "- Creating Pods project" do UI.message "- Creating Pods project" do
@pods_project = Pod::Project.new(sandbox, nil) @pods_project = Pod::Project.new(sandbox, @podfile.target_definitions['Pods'].build_configurations)
if config.podfile_path if config.podfile_path
@pods_project.add_podfile(config.podfile_path) @pods_project.add_podfile(config.podfile_path)
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