MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / generatePBXFileReference

Method generatePBXFileReference

tools/mcconfig.js:889–906  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

887 this.line(" in Sources */,");
888 }
889 generatePBXFileReference(file) {
890 this.write("\t\t");
891 this.writeID(file.fileReferenceID);
892 this.write(" /* ");
893 this.write(file.name);
894 this.write(file.extension);
895 this.write(" */ = {isa = PBXFileReference; lastKnownFileType = ");
896 this.write(file.fileType);
897 this.write("; name = ");
898 this.write(file.name);
899 this.write(file.extension);
900 this.write("; path = ");
901 this.write(file.directory);
902 this.write("/");
903 this.write(file.name);
904 this.write(file.extension);
905 this.line("; sourceTree = \"<group>\"; };");
906 }
907 generatePBXGroup(file) {
908 this.write("\t\t\t\t");
909 this.writeID(file.fileReferenceID);

Callers 1

generateMethod · 0.95

Calls 3

writeIDMethod · 0.95
writeMethod · 0.65
lineMethod · 0.45

Tested by

no test coverage detected