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

Method generatePBXBuildFile

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

Source from the content-addressed store, hash-verified

823 this.close();
824 }
825 generatePBXBuildFile(file) {
826 this.write("\t\t");
827 this.writeID(file.buildFileID);
828 this.write(" /* ");
829 this.write(file.name);
830 this.write(file.extension);
831 this.write(" in Sources */ = {isa = PBXBuildFile; fileRef = ");
832 this.writeID(file.fileReferenceID);
833 this.write(" /* ");
834 this.write(file.name);
835 this.write(file.extension);
836 this.line(" */; };");
837 if (file.fileType == "wrapper.framework" && file.copyFileID) {
838 this.write("\t\t");
839 this.writeID(file.copyFileID);
840 this.write(" /* ");
841 this.write(file.name);
842 this.write(file.extension);
843 this.write(" in Sources */ = {isa = PBXBuildFile; fileRef = ");
844 this.writeID(file.fileReferenceID);
845 this.write(" /* ");
846 this.write(file.name);
847 this.write(file.extension);
848 this.line(" */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };");
849 }
850 }
851 generatePBXCopyFilesBuildPhase(file) {
852 if (file.fileType == "wrapper.framework" && file.copyFileID) {
853 this.write("\t\t\t\t");

Callers 1

generateMethod · 0.95

Calls 3

writeIDMethod · 0.95
writeMethod · 0.65
lineMethod · 0.45

Tested by

no test coverage detected