Skip to content

Commit 883ae0a

Browse files
committed
Fix library add ios with spaces in path
1 parent 97443cd commit 883ae0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/ios-project-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class IOSProjectService implements IPlatformProjectService {
230230
this.$errors.failWithoutHelp("The bundle at %s does not contain an Info.plist file.", libraryPath);
231231
}
232232

233-
var packageType = this.$childProcess.exec('/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" ' + infoPlistPath).wait().trim();
233+
var packageType = this.$childProcess.exec(util.format('/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" "%s"', infoPlistPath)).wait().trim();
234234
if (packageType !== "FMWK") {
235235
this.$errors.failWithoutHelp("The bundle at %s does not appear to be a dynamic framework.", libraryPath);
236236
}

0 commit comments

Comments
 (0)