Skip to content

Commit b7317c8

Browse files
committed
Merge pull request #457 from NativeScript/jasssonpet/library-add-with-spaces
Fix library add ios with spaces in path
2 parents 17874a2 + aa3292f commit b7317c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/ios-project-service.ts

Lines changed: 1 addition & 1 deletion
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(`/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" "${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)