Commit 01907abf authored by Kyle Fuller's avatar Kyle Fuller

[Resources] Fix when Xcode is installed with space in path

Fixes #2684
parent a2443239
......@@ -39,6 +39,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[Eloy Durán](https://github.com/alloy)
[#2666](https://github.com/CocoaPods/CocoaPods/issues/2666)
* Fixes an issue running the resources script when Xcode is installed to a
directory with a space when compiling xcassets.
[Kyle Fuller](https://github.com/kylef)
[#2684](https://github.com/CocoaPods/CocoaPods/issues/2684)
## 0.34.2
......
......@@ -133,7 +133,7 @@ EOS
XCASSETS_COMPILE = <<EOS
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ `xcrun --find actool` ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ]
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ `find . -name '*.xcassets' | wc -l` -ne 0 ]
then
case "${TARGETED_DEVICE_FAMILY}" in
1,2)
......
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