From fb53d3e2f0484ea3ff68e924aa7cc55e69e410a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Thu, 10 Oct 2013 17:10:32 +0200 Subject: [PATCH] [xcassets] actool uses path info from bundle unless full build path is specified. --- lib/motion/project/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/builder.rb b/lib/motion/project/builder.rb index d0d8de91..b47239e7 100644 --- a/lib/motion/project/builder.rb +++ b/lib/motion/project/builder.rb @@ -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.