From da18ca701757c653587831d13e57e772b96edad2 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Jul 2025 10:03:07 +0800 Subject: Update pbxproj.lua --- xmake/plugins/project/xcode2/pbxproj.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmake/plugins/project/xcode2/pbxproj.lua b/xmake/plugins/project/xcode2/pbxproj.lua index b9cddd3ae..ef2d73abf 100644 --- a/xmake/plugins/project/xcode2/pbxproj.lua +++ b/xmake/plugins/project/xcode2/pbxproj.lua @@ -162,7 +162,7 @@ end function _write_section_PBXShellScriptBuildPhase(info, lines) table.insert(lines, "/* Begin PBXShellScriptBuildPhase section */") for uuid, obj in table.orderpairs(info.sections.PBXShellScriptBuildPhase) do - table.insert(lines, "\t\t" .. uuid .. " /* Run xmake Build Command */ = {") + table.insert(lines, "\t\t" .. uuid .. " /* Run Xmake Build Command */ = {") table.insert(lines, [[ isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -173,7 +173,7 @@ function _write_section_PBXShellScriptBuildPhase(info, lines) ); inputPaths = ( ); - name = "xmake build"; + name = "Xmake Build"; outputFileListPaths = ( ); outputPaths = ( @@ -257,7 +257,7 @@ function _write_pbxproj(info) write_section(info, lines) end - table.insert(lines, + table.insert(lines, [[ }; rootObject = ]] .. info.root_object .. [[ /* Project object */; }]]) @@ -268,4 +268,4 @@ function main(info) local content = _write_pbxproj(info) local file_name = path.join(info.project_dir, info.project_bundle, "project.pbxproj") _write_file_if_needed(file_name, content) -end \ No newline at end of file +end -- cgit v1.3.1