Create 'Target Support Files' dir for target having resource bundles but no source files

parent b1dd7490
...@@ -139,6 +139,7 @@ module Pod ...@@ -139,6 +139,7 @@ module Pod
# Create Info.plist file for bundle # Create Info.plist file for bundle
path = target.info_plist_path path = target.info_plist_path
path.dirname.mkdir unless path.dirname.exist?
info_plist_path = path.dirname + "ResourceBundle-#{bundle_name}-#{path.basename}" info_plist_path = path.dirname + "ResourceBundle-#{bundle_name}-#{path.basename}"
generator = Generator::InfoPlistFile.new(target) generator = Generator::InfoPlistFile.new(target)
generator.save_as(info_plist_path) generator.save_as(info_plist_path)
......
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