From aa3292f103f3336c4f9c46216feea5d719cb86c2 Mon Sep 17 00:00:00 2001 From: Jason Zhekov Date: Mon, 4 May 2015 14:27:27 +0300 Subject: [PATCH] Fix library add ios with spaces in path --- lib/services/ios-project-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index 339f039ce7..333af0663c 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -230,7 +230,7 @@ class IOSProjectService implements IPlatformProjectService { this.$errors.failWithoutHelp("The bundle at %s does not contain an Info.plist file.", libraryPath); } - var packageType = this.$childProcess.exec('/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" ' + infoPlistPath).wait().trim(); + var packageType = this.$childProcess.exec(`/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" "${infoPlistPath}"`).wait().trim(); if (packageType !== "FMWK") { this.$errors.failWithoutHelp("The bundle at %s does not appear to be a dynamic framework.", libraryPath); }