Skip to content

Commit

Permalink
CB-12377: Fix bug with updating platform
Browse files Browse the repository at this point in the history
 This closes #291
  • Loading branch information
matrosov-nikita authored and shazron committed Mar 2, 2017
1 parent 7bce4ec commit 6aed58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/create.js
Expand Up @@ -122,7 +122,7 @@ function copyTemplateFiles(project_path, project_name, project_template_dir, pac
shell.cp('-rf', path.join(project_template_dir, '__TEMP__.xcodeproj'), project_path);
shell.mv('-f', path.join(project_path, '__TEMP__.xcodeproj'), path.join(r+'.xcodeproj'));

shell.rm('-rf', path.join(project_path, project_name+'.xcodeworkspace'));
shell.rm('-rf', path.join(project_path, project_name+'.xcworkspace'));
shell.cp('-rf', path.join(project_template_dir, '__TEMP__.xcworkspace'), project_path);
shell.mv('-f', path.join(project_path, '__TEMP__.xcworkspace'), path.join(r+'.xcworkspace'));
shell.mv('-f', path.join(r+'.xcworkspace', 'xcshareddata', 'xcschemes', '__PROJECT_NAME__.xcscheme'), path.join(r+'.xcworkspace', 'xcshareddata', 'xcschemes', project_name+'.xcscheme'));
Expand Down

0 comments on commit 6aed58b

Please sign in to comment.