`pod lib create` mishandles pod name with spaces in it #1456

boredzo opened this Issue Oct 9, 2013 · 2 comments


None yet

4 participants

boredzo commented Oct 9, 2013
% pod --version
% pod lib create 'ISO 8601 Date Formatter'
Creating `ISO 8601 Date Formatter` Pod
[!] Pod::Executable clone 'https://github.com/CocoaPods/pod-template.git' ISO 8601 Date Formatter
Too many arguments.
usage: git clone [options] [--] <repo> [<dir>]
[and the rest of git clone's usage output]
orta commented Oct 9, 2013

IMO we should probably have raised an error here and said we don't support spaces.

@kylef kylef was assigned Oct 9, 2013


@kylef kylef added a commit that closed this issue Oct 9, 2013
@kylef kylef Don't allow `pod lib create` to continue with a space in the pod name
Fixed a crash which was causing a failure in `pod lib create` if the name of
the Pod included spaces. As spaces are not supported now this is gracefully
handled with an informative message.

Fixes #1456
@kylef kylef closed this in caea00d Oct 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment