[xcassets] actool uses path info from bundle unless full build path is specified.

This commit is contained in:
Eloy Durán
2013-10-10 17:10:32 +02:00
parent 713ec6f38a
commit fb53d3e2f0

View File

@@ -353,7 +353,7 @@ EOS
"--notices --warnings --platform #{config.deploy_platform.downcase} " \
"--minimum-deployment-target #{config.deployment_target} " \
"#{Array(config.device_family).map { |d| "--target-device #{d}" }.join(' ')} " \
"--compress-pngs --compile \"#{bundle_path}\" \"#{xcassets.join('" "')}\""
"--compress-pngs --compile \"#{File.expand_path(bundle_path)}\" \"#{xcassets.join('" "')}\""
end
# Compile CoreData Model resources and SpriteKit atlas files.