From e24fcaa44dfe2fe5e15be14850f1536e25d9b9d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Mon, 14 Oct 2013 15:50:27 +0200 Subject: [PATCH] [xcassets] Be sure to remove whitespace from Info.plist icon names. --- lib/motion/project/template/ios/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/template/ios/config.rb b/lib/motion/project/template/ios/config.rb index 6741194b..b3909ee6 100644 --- a/lib/motion/project/template/ios/config.rb +++ b/lib/motion/project/template/ios/config.rb @@ -65,7 +65,7 @@ module Motion; module Project; path = app_icons_info_plist_path(platform) if File.exist?(path) content = `/usr/libexec/PlistBuddy -c 'Print :CFBundleIcons:CFBundlePrimaryIcon:CFBundleIconFiles' "#{path}"`.strip - self.icons = content.split("\n")[1..-2] + self.icons = content.split("\n")[1..-2].map(&:strip) end end