Skip to content

Commit 99266ea

Browse files
committed
platform adds for other apple
1 parent 4f88f67 commit 99266ea

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

commandLine/src/projects/xcodeProject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ bool xcodeProject::createProjectFile(){
100100
for (auto & f : {"openFrameworks-Info.plist", "of.entitlements"}) {
101101
copyTemplateFiles.push_back({normalizePath(templatePath / f), normalizePath(projectDir / f)});
102102
}
103-
} else if (target == "ios" || target == "macos") {
103+
} else if (target == "ios" || target == "tvos" || target == "visionos" || target == "catos" || target == "macos") {
104104
for (auto & f : {"ofxiOS-Info.plist", "ofxiOS_Prefix.pch"}) {
105105
copyTemplateFiles.push_back({normalizePath(templatePath / f), normalizePath(projectDir / f)});
106106
try {

commandLine/src/utils/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ unique_ptr<baseProject> getTargetProject(const string & targ) {
435435
// cout << "getTargetProject :" << getTargetString(targ) << endl;
436436
// typedef xcodeProject pgProject;
437437

438-
if (targ == "osx" || targ == "ios" || targ == "macos") {
438+
if (targ == "osx" || targ == "ios" || targ == "macos" || targ == "tvos" || targ == "catos" || targ == "visionos" || targ == "watchos") {
439439
return unique_ptr<xcodeProject>(new xcodeProject(targ));
440440
} else if (targ == "msys2") {
441441
// return unique_ptr<QtCreatorProject>(new QtCreatorProject(targ));

commandLine/src/utils/Utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ static std::vector < std::string > platformsOptions {
5555
"msys2",
5656
"osx",
5757
"vs",
58+
"tvos",
5859
};
5960

6061
string generateUUID(const string & input);

0 commit comments

Comments
 (0)