Commit 2f2c146d authored by Samuel Giddins's avatar Samuel Giddins

[TargetInspector] Raise a friendly error when unable to determine

platform
parent c6a4867f
......@@ -153,6 +153,11 @@ module Pod
end
end
unless name
raise Informative,
"Unable to determine the platform for the `#{target_definition.name}` target."
end
target_definition.set_platform(name, deployment_target)
Platform.new(name, deployment_target)
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