Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid StackName if target contains space #28

Closed
PGLongo opened this issue Mar 17, 2015 · 2 comments
Closed

Invalid StackName if target contains space #28

PGLongo opened this issue Mar 17, 2015 · 2 comments
Assignees
Labels

Comments

@PGLongo
Copy link
Collaborator

PGLongo commented Mar 17, 2015

If the target contains space the model is automatically named with '_' instead of ' ', for example 'Pokemon Ruby Omega' became 'Pokemon_Ruby_Omega'

let stackName = (infoDictionary!["CFBundleName"] as NSString

We could change stackName like this

let stackName = (infoDictionary!["CFBundleName"] as NSString).stringByReplacingOccurrencesOfString(" ", withString: "_")

Maybe we can also change NSString to String.

@PGLongo
Copy link
Collaborator Author

PGLongo commented Mar 17, 2015

Maybe you can fix in #22

@michaelarmstrong
Copy link
Owner

I can confirm this will indeed be fixed in #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants