From 4565f01ded8b45ef1c13c390aafba814cf76af54 Mon Sep 17 00:00:00 2001 From: Noah McCann Date: Mon, 28 Oct 2013 11:01:00 -0400 Subject: [PATCH 1/2] Avoid compiling xcassets in some cases Added a condition to avoid compiling xcassets when WRAPPER_EXTENSION is undefined, as it would be in the case of static libraries. This prevents trying to copy the compiled files to a directory that does not exist. --- lib/cocoapods/generator/copy_resources_script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods/generator/copy_resources_script.rb b/lib/cocoapods/generator/copy_resources_script.rb index f55ec73263..b29a82e771 100644 --- a/lib/cocoapods/generator/copy_resources_script.rb +++ b/lib/cocoapods/generator/copy_resources_script.rb @@ -137,7 +137,7 @@ def script XCASSETS_COMPILE = < Date: Mon, 28 Oct 2013 12:29:17 -0400 Subject: [PATCH 2/2] [CHANGELOG] --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d1dd94c12..7a60ba5b62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html). +## Master + +###### Bug Fixes + +* Added a condition to avoid compiling xcassets when WRAPPER_EXTENSION + is undefined, as it would be in the case of static libraries. This prevents + trying to copy the compiled files to a directory that does not exist. + [Noah McCann](https://github.com/nmccann) + [#1521](https://github.com/CocoaPods/CocoaPods/pull/1521) + + ## 0.27.1 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.26.2...0.27.1) • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.26.2...0.27.1)