ipa-metadata
ipa-metadata copied to clipboard
[bugfix] escape whitespace for filepath. Use nodejs path to make path
There's a problem for parsing ipa file of which scheme has whitespace in it.
When the scheme name has whitespace, generated .ipa file has white-spaced .app file in it.
Because of this, several failure can occur on this library. So I escaped path before use, but when I try to escape spaces right before plist.readFileSync, it throws me an error. (I think it is because it escapes filename internally).
Other than reading plist, path are used for concatenating command forked by exec, so I think it will be fine in most cases. Consider this PR, and please fix this bug. Thanks.
Same Issue here. Hope for Merge of this fix soon.