Skip to content

Commit 6b54331

Browse files
committed
adds the files needed for the legacy build in Xcode 10
1 parent 407a7d6 commit 6b54331

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ofxProjectGenerator/src/projects/xcodeProject.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ void xcodeProject::saveScheme(){
258258
ofFile::copyFromTo(ofFilePath::join(templatePath, "emptyExample.xcodeproj/xcshareddata/xcschemes/emptyExample Release.xcscheme"), schemeToR);
259259
findandreplaceInTexfile(schemeToD, "emptyExample", projectName);
260260
findandreplaceInTexfile(schemeToR, "emptyExample", projectName);
261+
262+
std::string workspaceTo = projectDir + projectName + ".xcodeproj/project.xcworkspace";
263+
ofFile::copyFromTo(ofFilePath::join(templatePath, "emptyExample.xcodeproj/project.xcworkspace"), schemeTo);
261264
}else{
262265
std::string schemeTo = projectDir + projectName + ".xcodeproj" + "/xcshareddata/xcschemes/" + projectName + ".xcscheme";
263266
ofFile::copyFromTo(ofFilePath::join(templatePath, "emptyExample.xcodeproj/xcshareddata/xcschemes/emptyExample.xcscheme"), schemeTo);

0 commit comments

Comments
 (0)