From 0e6145dce2ea94fbac97bb1bc463ab048dcbb0e9 Mon Sep 17 00:00:00 2001 From: tomocy Date: Sun, 18 Feb 2024 04:32:30 +0900 Subject: [PATCH] Use XCode App template to package and distrubte as .app --- .gitignore | 8 +- ccodoc.xcodeproj/project.pbxproj | 638 ------------------ xcode/ccodoc.xcodeproj/project.pbxproj | 536 +++++++++++++++ xcode/{app => ccodoc}/App.swift | 0 xcode/{app => ccodoc}/AppleScript.swift | 0 .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/Contents.json | 0 .../Assets.xcassets/Contents.json | 0 xcode/{app => ccodoc}/RunCcodoc.swift | 0 .../ccodoc.entitlements} | 0 xcode/{app => ccodoc}/main.swift | 0 11 files changed, 540 insertions(+), 642 deletions(-) delete mode 100644 ccodoc.xcodeproj/project.pbxproj create mode 100644 xcode/ccodoc.xcodeproj/project.pbxproj rename xcode/{app => ccodoc}/App.swift (100%) rename xcode/{app => ccodoc}/AppleScript.swift (100%) rename xcode/{app => ccodoc}/Assets.xcassets/AccentColor.colorset/Contents.json (100%) rename xcode/{app => ccodoc}/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename xcode/{app => ccodoc}/Assets.xcassets/Contents.json (100%) rename xcode/{app => ccodoc}/RunCcodoc.swift (100%) rename xcode/{app/app.entitlements => ccodoc/ccodoc.entitlements} (100%) rename xcode/{app => ccodoc}/main.swift (100%) diff --git a/.gitignore b/.gitignore index 1f07624..eb2f759 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -ccodoc -ccodoc_test +/ccodoc +/ccodoc_test **/*.o **/*.exe @@ -9,8 +9,8 @@ compile_flags.txt .vscode/settings.json # XCode -*.xcodeproj/* -!*.xcodeproj/*.pbxproj +xcode/*.xcodeproj/* +!xcode/*.xcodeproj/*.pbxproj # Others .DS_Store diff --git a/ccodoc.xcodeproj/project.pbxproj b/ccodoc.xcodeproj/project.pbxproj deleted file mode 100644 index 92063a9..0000000 --- a/ccodoc.xcodeproj/project.pbxproj +++ /dev/null @@ -1,638 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - F52641D92B7F647D00BB540F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F52641D82B7F647D00BB540F /* Assets.xcassets */; }; - F52641E22B7F651F00BB540F /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = F52641E12B7F651F00BB540F /* main.swift */; }; - F557AFFE2B809950005CD00D /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557AFFD2B809950005CD00D /* App.swift */; }; - F557B0002B809960005CD00D /* RunCcodoc.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557AFFF2B809960005CD00D /* RunCcodoc.swift */; }; - F557B0022B80BC4C005CD00D /* AppleScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557B0012B80BC4C005CD00D /* AppleScript.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - F52641F02B7F7B6900BB540F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = F5A6A6802B7E5B7900EB8014 /* Project object */; - proxyType = 1; - remoteGlobalIDString = F52641E82B7F7B4D00BB540F; - remoteInfo = binary; - }; - F5B6A5562B7FA4660002287A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = F5A6A6802B7E5B7900EB8014 /* Project object */; - proxyType = 1; - remoteGlobalIDString = F5B6A5522B7F919D0002287A; - remoteInfo = raw; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - F52641D22B7F647B00BB540F /* ccodoc.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ccodoc.app; sourceTree = BUILT_PRODUCTS_DIR; }; - F52641D82B7F647D00BB540F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - F52641E12B7F651F00BB540F /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; - F52641E92B7F7B4D00BB540F /* ccodoc.command */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ccodoc.command; sourceTree = BUILT_PRODUCTS_DIR; }; - F557AFFD2B809950005CD00D /* App.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; - F557AFFF2B809960005CD00D /* RunCcodoc.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RunCcodoc.swift; sourceTree = ""; }; - F557B0012B80BC4C005CD00D /* AppleScript.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppleScript.swift; sourceTree = ""; }; - F5A6A6A42B7E684A00EB8014 /* env_linux.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = env_linux.h; sourceTree = ""; }; - F5A6A6A52B7E684A00EB8014 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; - F5A6A6A62B7E684A00EB8014 /* memory.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = memory.c; sourceTree = ""; }; - F5A6A6A72B7E684A00EB8014 /* string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = string.c; sourceTree = ""; }; - F5A6A6A82B7E684A00EB8014 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; - F5A6A6A92B7E684A00EB8014 /* compile_flags_vanilla.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = compile_flags_vanilla.txt; sourceTree = ""; }; - F5A6A6AA2B7E684A00EB8014 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; - F5A6A6AB2B7E684A00EB8014 /* test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = test.h; sourceTree = ""; }; - F5A6A6AC2B7E684A00EB8014 /* tool */ = {isa = PBXFileReference; lastKnownFileType = folder; path = tool; sourceTree = ""; }; - F5A6A6AD2B7E684A00EB8014 /* mode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mode.h; sourceTree = ""; }; - F5A6A6AE2B7E684A00EB8014 /* compile_flags_linux.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = compile_flags_linux.txt; sourceTree = ""; }; - F5A6A6AF2B7E684A00EB8014 /* platform_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = platform_test.c; sourceTree = ""; }; - F5A6A6B02B7E684A00EB8014 /* env_macos.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = env_macos.h; sourceTree = ""; }; - F5A6A6B12B7E684A00EB8014 /* mode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mode.c; sourceTree = ""; }; - F5A6A6B22B7E684A00EB8014 /* math.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = math.c; sourceTree = ""; }; - F5A6A6B32B7E684A00EB8014 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = ""; }; - F5A6A6B42B7E684A00EB8014 /* ccodoc.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = ccodoc.xcodeproj; sourceTree = ""; }; - F5A6A6B72B7E684A00EB8014 /* ccodoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccodoc.h; sourceTree = ""; }; - F5A6A6B82B7E684A00EB8014 /* canvas.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = canvas.h; sourceTree = ""; }; - F5A6A6B92B7E684A00EB8014 /* time.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = time.h; sourceTree = ""; }; - F5A6A6BA2B7E684A00EB8014 /* ccodoc_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ccodoc_test.c; sourceTree = ""; }; - F5A6A6BB2B7E684A00EB8014 /* platform.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = platform.c; sourceTree = ""; }; - F5A6A6BC2B7E684A00EB8014 /* memory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = memory.h; sourceTree = ""; }; - F5A6A6BD2B7E684A00EB8014 /* canvas.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = canvas.c; sourceTree = ""; }; - F5A6A6BE2B7E684B00EB8014 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; - F5A6A6BF2B7E684B00EB8014 /* renderer_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = renderer_test.c; sourceTree = ""; }; - F5A6A6C02B7E684B00EB8014 /* renderer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = renderer.c; sourceTree = ""; }; - F5A6A6C12B7E684B00EB8014 /* string_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = string_test.c; sourceTree = ""; }; - F5A6A6C22B7E684B00EB8014 /* math.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = math.h; sourceTree = ""; }; - F5A6A6C32B7E684B00EB8014 /* test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = test.c; sourceTree = ""; }; - F5A6A6C42B7E684B00EB8014 /* time.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = time.c; sourceTree = ""; }; - F5A6A6C52B7E684B00EB8014 /* time_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = time_test.c; sourceTree = ""; }; - F5A6A6C62B7E684B00EB8014 /* ccodoc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ccodoc.c; sourceTree = ""; }; - F5A6A6C72B7E684B00EB8014 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = ""; }; - F5A6A6C82B7E684B00EB8014 /* compile_flags_macos.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = compile_flags_macos.txt; sourceTree = ""; }; - F5A6A6C92B7E684B00EB8014 /* platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platform.h; sourceTree = ""; }; - F5A6A6CA2B7E684B00EB8014 /* renderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = renderer.h; sourceTree = ""; }; - F5A6A6CB2B7E684B00EB8014 /* DEVELOPMENT.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = DEVELOPMENT.md; sourceTree = ""; }; - F5B6A55D2B7FB9A30002287A /* app.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = app.entitlements; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - F52641CF2B7F647B00BB540F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F52641E62B7F7B4D00BB540F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - F52641D32B7F647B00BB540F /* app */ = { - isa = PBXGroup; - children = ( - F557AFFF2B809960005CD00D /* RunCcodoc.swift */, - F557B0012B80BC4C005CD00D /* AppleScript.swift */, - F557AFFD2B809950005CD00D /* App.swift */, - F52641E12B7F651F00BB540F /* main.swift */, - F5B6A55D2B7FB9A30002287A /* app.entitlements */, - F52641D82B7F647D00BB540F /* Assets.xcassets */, - ); - path = app; - sourceTree = ""; - }; - F593DE822B80981F00F8EAA9 /* xcode */ = { - isa = PBXGroup; - children = ( - F52641D32B7F647B00BB540F /* app */, - ); - path = xcode; - sourceTree = ""; - }; - F5A6A67F2B7E5B7900EB8014 = { - isa = PBXGroup; - children = ( - F5A6A6B32B7E684A00EB8014 /* assets */, - F5A6A6BD2B7E684A00EB8014 /* canvas.c */, - F5A6A6B82B7E684A00EB8014 /* canvas.h */, - F5A6A6BA2B7E684A00EB8014 /* ccodoc_test.c */, - F5A6A6C62B7E684B00EB8014 /* ccodoc.c */, - F5A6A6B72B7E684A00EB8014 /* ccodoc.h */, - F5A6A6B42B7E684A00EB8014 /* ccodoc.xcodeproj */, - F5A6A6AE2B7E684A00EB8014 /* compile_flags_linux.txt */, - F5A6A6C82B7E684B00EB8014 /* compile_flags_macos.txt */, - F5A6A6A92B7E684A00EB8014 /* compile_flags_vanilla.txt */, - F5A6A6CB2B7E684B00EB8014 /* DEVELOPMENT.md */, - F5A6A6A42B7E684A00EB8014 /* env_linux.h */, - F5A6A6B02B7E684A00EB8014 /* env_macos.h */, - F5A6A6AA2B7E684A00EB8014 /* LICENSE */, - F5A6A6A52B7E684A00EB8014 /* main.c */, - F5A6A6A82B7E684A00EB8014 /* Makefile */, - F5A6A6B22B7E684A00EB8014 /* math.c */, - F5A6A6C22B7E684B00EB8014 /* math.h */, - F5A6A6A62B7E684A00EB8014 /* memory.c */, - F5A6A6BC2B7E684A00EB8014 /* memory.h */, - F5A6A6B12B7E684A00EB8014 /* mode.c */, - F5A6A6AD2B7E684A00EB8014 /* mode.h */, - F5A6A6AF2B7E684A00EB8014 /* platform_test.c */, - F5A6A6BB2B7E684A00EB8014 /* platform.c */, - F5A6A6C92B7E684B00EB8014 /* platform.h */, - F5A6A6892B7E5B7900EB8014 /* Products */, - F5A6A6BE2B7E684B00EB8014 /* README.md */, - F5A6A6BF2B7E684B00EB8014 /* renderer_test.c */, - F5A6A6C02B7E684B00EB8014 /* renderer.c */, - F5A6A6CA2B7E684B00EB8014 /* renderer.h */, - F5A6A6C12B7E684B00EB8014 /* string_test.c */, - F5A6A6A72B7E684A00EB8014 /* string.c */, - F5A6A6C72B7E684B00EB8014 /* string.h */, - F5A6A6C32B7E684B00EB8014 /* test.c */, - F5A6A6AB2B7E684A00EB8014 /* test.h */, - F5A6A6C52B7E684B00EB8014 /* time_test.c */, - F5A6A6C42B7E684B00EB8014 /* time.c */, - F5A6A6B92B7E684A00EB8014 /* time.h */, - F5A6A6AC2B7E684A00EB8014 /* tool */, - F593DE822B80981F00F8EAA9 /* xcode */, - ); - sourceTree = ""; - }; - F5A6A6892B7E5B7900EB8014 /* Products */ = { - isa = PBXGroup; - children = ( - F52641D22B7F647B00BB540F /* ccodoc.app */, - F52641E92B7F7B4D00BB540F /* ccodoc.command */, - ); - name = Products; - sourceTree = ""; - }; - F5A6A6B52B7E684A00EB8014 /* Products */ = { - isa = PBXGroup; - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXLegacyTarget section */ - F5B6A5522B7F919D0002287A /* raw */ = { - isa = PBXLegacyTarget; - buildArgumentsString = ccodoc; - buildConfigurationList = F5B6A5532B7F919D0002287A /* Build configuration list for PBXLegacyTarget "raw" */; - buildPhases = ( - ); - buildToolPath = /usr/bin/make; - buildWorkingDirectory = ""; - dependencies = ( - ); - name = raw; - passBuildSettingsInEnvironment = 1; - productName = raw; - }; -/* End PBXLegacyTarget section */ - -/* Begin PBXNativeTarget section */ - F52641D12B7F647B00BB540F /* app */ = { - isa = PBXNativeTarget; - buildConfigurationList = F52641DE2B7F647D00BB540F /* Build configuration list for PBXNativeTarget "app" */; - buildPhases = ( - F52641CE2B7F647B00BB540F /* Sources */, - F52641CF2B7F647B00BB540F /* Frameworks */, - F52641D02B7F647B00BB540F /* Resources */, - F593DE7F2B7FF20000F8EAA9 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - F52641F12B7F7B6900BB540F /* PBXTargetDependency */, - ); - name = app; - productName = app; - productReference = F52641D22B7F647B00BB540F /* ccodoc.app */; - productType = "com.apple.product-type.application"; - }; - F52641E82B7F7B4D00BB540F /* command */ = { - isa = PBXNativeTarget; - buildConfigurationList = F52641ED2B7F7B4D00BB540F /* Build configuration list for PBXNativeTarget "command" */; - buildPhases = ( - F52641E62B7F7B4D00BB540F /* Frameworks */, - F5B6A55B2B7FA6920002287A /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - F5B6A5572B7FA4660002287A /* PBXTargetDependency */, - ); - name = command; - productName = binary; - productReference = F52641E92B7F7B4D00BB540F /* ccodoc.command */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - F5A6A6802B7E5B7900EB8014 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1520; - LastUpgradeCheck = 1520; - TargetAttributes = { - F52641D12B7F647B00BB540F = { - CreatedOnToolsVersion = 15.2; - LastSwiftMigration = 1520; - }; - F52641E82B7F7B4D00BB540F = { - CreatedOnToolsVersion = 15.2; - }; - F5B6A5522B7F919D0002287A = { - CreatedOnToolsVersion = 15.2; - }; - }; - }; - buildConfigurationList = F5A6A6832B7E5B7900EB8014 /* Build configuration list for PBXProject "ccodoc" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = F5A6A67F2B7E5B7900EB8014; - productRefGroup = F5A6A6892B7E5B7900EB8014 /* Products */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = F5A6A6B52B7E684A00EB8014 /* Products */; - ProjectRef = F5A6A6B42B7E684A00EB8014 /* ccodoc.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - F52641D12B7F647B00BB540F /* app */, - F52641E82B7F7B4D00BB540F /* command */, - F5B6A5522B7F919D0002287A /* raw */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - F52641D02B7F647B00BB540F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F52641D92B7F647D00BB540F /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - F593DE7F2B7FF20000F8EAA9 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - /usr/local/opt/ncurses/lib/libncursesw.dylib, - ); - outputFileListPaths = ( - ); - outputPaths = ( - "$(FRAMEWORKS_FOLDER_PATH)/libncursesw.dylib", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "printf \"# Embed other executables\\n\"\n\nFRAMEWORKS_PATH=\"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\nmkdir -p \"${FRAMEWORKS_PATH}\"\n\nEXECUTABLES_PATH=\"${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}\"\nmkdir -p \"${EXECUTABLES_PATH}\"\n\nprintf \"\\n## ncurses (dylib)\\n\"\nNCURSES_NAME=libncursesw.dylib\nNCURSES_PATH_RAW=\"${LIB_NCURSES_PATH}\"\nNCURSES_PATH=\"${FRAMEWORKS_PATH}/${NCURSES_NAME}\"\n\nprintf \"### Path\\n\"\ncp -f \"${NCURSES_PATH_RAW}\" \"${NCURSES_PATH}\"\nls \"${NCURSES_PATH}\"\n\nprintf \"### CodeSign\\n\"\ncodesign --force --sign \"${CODE_SIGN_IDENTITY}\" --options runtime \"${NCURSES_PATH}\"\ncodesign --display -v \"${NCURSES_PATH}\"\n\nprintf \"\\n## ccodoc.command\\n\"\nCOMMAND_NAME=\"${PROJECT_NAME}.command\"\nCOMMAND_PATH_RAW=\"${BUILT_PRODUCTS_DIR}/${COMMAND_NAME}\"\nCOMMAND_PATH=\"${EXECUTABLES_PATH}/${COMMAND_NAME}\"\n\nprintf \"### Path\\n\"\ncp -f \"${COMMAND_PATH_RAW}\" \"${COMMAND_PATH}\"\nls -al \"${COMMAND_PATH}\" \n\nprintf \"### Dynamic Libraries\\n\"\ninstall_name_tool -change \"${NCURSES_PATH_RAW}\" \"${NCURSES_PATH}\" \"${COMMAND_PATH}\"\notool -L \"${COMMAND_PATH}\"\n\nprintf \"### CodeSign\\n\"\ncodesign --force --sign \"${CODE_SIGN_IDENTITY}\" --options runtime \"${COMMAND_PATH}\"\ncodesign --display -v \"${COMMAND_PATH}\"\n"; - showEnvVarsInLog = 0; - }; - F5B6A55B2B7FA6920002287A /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 12; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "$(SRCROOT)/$(PROJECT_NAME)", - ); - outputFileListPaths = ( - ); - outputPaths = ( - "$(TARGET_BUILD_DIR)/$(PRODUCT_NAME)", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp \"${SRCROOT}/${PROJECT_NAME}\" \"${TARGET_BUILD_DIR}/${PRODUCT_NAME}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - F52641CE2B7F647B00BB540F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F557B0002B809960005CD00D /* RunCcodoc.swift in Sources */, - F557B0022B80BC4C005CD00D /* AppleScript.swift in Sources */, - F557AFFE2B809950005CD00D /* App.swift in Sources */, - F52641E22B7F651F00BB540F /* main.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - F52641F12B7F7B6900BB540F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = F52641E82B7F7B4D00BB540F /* command */; - targetProxy = F52641F02B7F7B6900BB540F /* PBXContainerItemProxy */; - }; - F5B6A5572B7FA4660002287A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = F5B6A5522B7F919D0002287A /* raw */; - targetProxy = F5B6A5562B7FA4660002287A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - F52641DF2B7F647D00BB540F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = xcode/app/app.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 7675C8B65F; - ENABLE_HARDENED_RUNTIME = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; - INFOPLIST_KEY_NSAppleEventsUsageDescription = "Terminal is used only to execute ccodoc"; - INFOPLIST_KEY_NSHumanReadableCopyright = tomocy; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - LIB_NCURSES_PATH = /usr/local/opt/ncurses/lib/libncursesw.6.dylib; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc.app; - PRODUCT_NAME = "$(PROJECT_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - F52641E02B7F647D00BB540F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = xcode/app/app.entitlements; - "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application"; - CODE_SIGN_STYLE = Manual; - COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = ""; - "DEVELOPMENT_TEAM[sdk=macosx*]" = 7675C8B65F; - ENABLE_HARDENED_RUNTIME = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; - INFOPLIST_KEY_NSAppleEventsUsageDescription = "Terminal is used only to execute ccodoc"; - INFOPLIST_KEY_NSHumanReadableCopyright = tomocy; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - LIB_NCURSES_PATH = /usr/local/opt/ncurses/lib/libncursesw.6.dylib; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc.app; - PRODUCT_NAME = "$(PROJECT_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - F52641EE2B7F7B4D00BB540F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 7675C8B65F; - ENABLE_HARDENED_RUNTIME = YES; - OTHER_CODE_SIGN_FLAGS = ""; - PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc.command; - PRODUCT_NAME = "$(PROJECT_NAME).command"; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - F52641EF2B7F7B4D00BB540F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; - CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 7675C8B65F; - ENABLE_HARDENED_RUNTIME = YES; - OTHER_CODE_SIGN_FLAGS = ""; - PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc.command; - PRODUCT_NAME = "$(PROJECT_NAME).command"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SKIP_INSTALL = YES; - }; - name = Release; - }; - F5A6A68D2B7E5B7900EB8014 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MACOSX_DEPLOYMENT_TARGET = 14.2; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - F5A6A68E2B7E5B7900EB8014 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MACOSX_DEPLOYMENT_TARGET = 14.2; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = macosx; - }; - name = Release; - }; - F5B6A5542B7F919D0002287A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ADD_LDFLAGS = "-O$(C_OPTIMIZATION_LEVEL) -L/usr/local/opt/ncurses/lib"; - C_OPTIMIZATION_LEVEL = 0; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - F5B6A5552B7F919D0002287A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ADD_LDFLAGS = "-O$(C_OPTIMIZATION_LEVEL) -L/usr/local/opt/ncurses/lib"; - C_OPTIMIZATION_LEVEL = s; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - F52641DE2B7F647D00BB540F /* Build configuration list for PBXNativeTarget "app" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F52641DF2B7F647D00BB540F /* Debug */, - F52641E02B7F647D00BB540F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F52641ED2B7F7B4D00BB540F /* Build configuration list for PBXNativeTarget "command" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F52641EE2B7F7B4D00BB540F /* Debug */, - F52641EF2B7F7B4D00BB540F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F5A6A6832B7E5B7900EB8014 /* Build configuration list for PBXProject "ccodoc" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F5A6A68D2B7E5B7900EB8014 /* Debug */, - F5A6A68E2B7E5B7900EB8014 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F5B6A5532B7F919D0002287A /* Build configuration list for PBXLegacyTarget "raw" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F5B6A5542B7F919D0002287A /* Debug */, - F5B6A5552B7F919D0002287A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = F5A6A6802B7E5B7900EB8014 /* Project object */; -} diff --git a/xcode/ccodoc.xcodeproj/project.pbxproj b/xcode/ccodoc.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ef3cb68 --- /dev/null +++ b/xcode/ccodoc.xcodeproj/project.pbxproj @@ -0,0 +1,536 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + F557B0672B80FADD005CD00D /* RunCcodoc.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557B0622B80FADD005CD00D /* RunCcodoc.swift */; }; + F557B0682B80FADD005CD00D /* AppleScript.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557B0632B80FADD005CD00D /* AppleScript.swift */; }; + F557B0692B80FADD005CD00D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F557B0642B80FADD005CD00D /* Assets.xcassets */; }; + F557B06A2B80FADD005CD00D /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557B0652B80FADD005CD00D /* App.swift */; }; + F557B06B2B80FADD005CD00D /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = F557B0662B80FADD005CD00D /* main.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + F557B07E2B80FE36005CD00D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F557B0432B80F9B0005CD00D /* Project object */; + proxyType = 1; + remoteGlobalIDString = F557B0762B80FDD2005CD00D; + remoteInfo = command; + }; + F557B0802B80FE58005CD00D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F557B0432B80F9B0005CD00D /* Project object */; + proxyType = 1; + remoteGlobalIDString = F557B06D2B80FCD1005CD00D; + remoteInfo = raw; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + F557B04B2B80F9B0005CD00D /* ccodoc.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ccodoc.app; sourceTree = BUILT_PRODUCTS_DIR; }; + F557B0622B80FADD005CD00D /* RunCcodoc.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RunCcodoc.swift; sourceTree = ""; }; + F557B0632B80FADD005CD00D /* AppleScript.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppleScript.swift; sourceTree = ""; }; + F557B0642B80FADD005CD00D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + F557B0652B80FADD005CD00D /* App.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; + F557B0662B80FADD005CD00D /* main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; + F557B06C2B80FC5D005CD00D /* ccodoc.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ccodoc.entitlements; sourceTree = ""; }; + F557B0772B80FDD2005CD00D /* ccodoc.command */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ccodoc.command; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + F557B0422B80F9B0005CD00D = { + isa = PBXGroup; + children = ( + F557B05D2B80FA54005CD00D /* ccodoc */, + F557B0782B80FDD2005CD00D /* command */, + F557B04C2B80F9B0005CD00D /* Products */, + ); + sourceTree = ""; + }; + F557B04C2B80F9B0005CD00D /* Products */ = { + isa = PBXGroup; + children = ( + F557B04B2B80F9B0005CD00D /* ccodoc.app */, + F557B0772B80FDD2005CD00D /* ccodoc.command */, + ); + name = Products; + sourceTree = ""; + }; + F557B05D2B80FA54005CD00D /* ccodoc */ = { + isa = PBXGroup; + children = ( + F557B06C2B80FC5D005CD00D /* ccodoc.entitlements */, + F557B0652B80FADD005CD00D /* App.swift */, + F557B0632B80FADD005CD00D /* AppleScript.swift */, + F557B0642B80FADD005CD00D /* Assets.xcassets */, + F557B0662B80FADD005CD00D /* main.swift */, + F557B0622B80FADD005CD00D /* RunCcodoc.swift */, + ); + path = ccodoc; + sourceTree = ""; + }; + F557B0782B80FDD2005CD00D /* command */ = { + isa = PBXGroup; + children = ( + ); + path = command; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + F557B06D2B80FCD1005CD00D /* raw */ = { + isa = PBXLegacyTarget; + buildArgumentsString = ccodoc; + buildConfigurationList = F557B06E2B80FCD1005CD00D /* Build configuration list for PBXLegacyTarget "raw" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = "$(PROJECT_ROOT)"; + dependencies = ( + ); + name = raw; + passBuildSettingsInEnvironment = 1; + productName = raw; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXNativeTarget section */ + F557B04A2B80F9B0005CD00D /* ccodoc */ = { + isa = PBXNativeTarget; + buildConfigurationList = F557B05A2B80F9B3005CD00D /* Build configuration list for PBXNativeTarget "ccodoc" */; + buildPhases = ( + F557B0472B80F9B0005CD00D /* Sources */, + F557B0492B80F9B0005CD00D /* Resources */, + F557B0832B810361005CD00D /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + F557B07F2B80FE36005CD00D /* PBXTargetDependency */, + ); + name = ccodoc; + productName = ccodoc; + productReference = F557B04B2B80F9B0005CD00D /* ccodoc.app */; + productType = "com.apple.product-type.application"; + }; + F557B0762B80FDD2005CD00D /* command */ = { + isa = PBXNativeTarget; + buildConfigurationList = F557B07B2B80FDD3005CD00D /* Build configuration list for PBXNativeTarget "command" */; + buildPhases = ( + F557B0822B80FEA2005CD00D /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + F557B0812B80FE58005CD00D /* PBXTargetDependency */, + ); + name = command; + productName = command; + productReference = F557B0772B80FDD2005CD00D /* ccodoc.command */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + F557B0432B80F9B0005CD00D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1520; + LastUpgradeCheck = 1520; + TargetAttributes = { + F557B04A2B80F9B0005CD00D = { + CreatedOnToolsVersion = 15.2; + LastSwiftMigration = 1520; + }; + F557B06D2B80FCD1005CD00D = { + CreatedOnToolsVersion = 15.2; + }; + F557B0762B80FDD2005CD00D = { + CreatedOnToolsVersion = 15.2; + }; + }; + }; + buildConfigurationList = F557B0462B80F9B0005CD00D /* Build configuration list for PBXProject "ccodoc" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = F557B0422B80F9B0005CD00D; + productRefGroup = F557B04C2B80F9B0005CD00D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + F557B04A2B80F9B0005CD00D /* ccodoc */, + F557B0762B80FDD2005CD00D /* command */, + F557B06D2B80FCD1005CD00D /* raw */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + F557B0492B80F9B0005CD00D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F557B0692B80FADD005CD00D /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + F557B0822B80FEA2005CD00D /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "$(PROJECT_ROOT)/ccodoc", + ); + outputFileListPaths = ( + ); + outputPaths = ( + "${BUILT_PRODUCTS_DIR}/ccodoc.command", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "printf \"# Copy raw binary files\\n\"\n\nprintf \"## ccodoc -> ccodoc.command\\n\"\nCOMMAND_PATH_SRC=\"${PROJECT_ROOT}/ccodoc\"\nCOMMAND_PATH=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}\"\ncp \"${COMMAND_PATH_SRC}\" \"${COMMAND_PATH}\"\nls -al \"${COMMAND_PATH}\"\n"; + }; + F557B0832B810361005CD00D /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "$(LIB_NCURSES_PATH)", + "$(BUILT_PRODUCTS_DIR)/$(COMMAND_PRODUCT_NAME)", + ); + outputFileListPaths = ( + ); + outputPaths = ( + "$(TARGET_BUILD_DIR)/$(FRAMEWORKS_FOLDER_PATH)/$(NCURSES_PRODUCT_NAME)", + "$(TARGET_BUILD_DIR)/$(EXECUTABLE_FOLDER_PATH)/$(COMMAND_PRODUCT_NAME)", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "printf \"# Embed products\\n\"\nCONTENTS_PATH=\"${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}\"\nrealpath \"${CONTENTS_PATH}\"\n\nprintf \"## Frameworks\\n\"\nFRAMEWORKS_PATH=\"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}\"\nmkdir -p \"${FRAMEWORKS_PATH}\"\nrealpath \"${FRAMEWORKS_PATH}\"\n\nprintf \"### libncurses.dylib\\n\"\nprintf \"%s\\n\" \"- Copy\"\nNCURSES_PATH_SRC=\"$(realpath ${LIB_NCURSES_PATH})\"\nNCURSES_PATH=\"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/${NCURSES_PRODUCT_NAME}\"\ncp \"${NCURSES_PATH_SRC}\" \"${NCURSES_PATH}\"\nrealpath \"${NCURSES_PATH}\"\n\nprintf \"%s\\n\" \"- CodeSign\"\ncodesign --sign \"${CODE_SIGN_IDENTITY}\" --force --options runtime \"${NCURSES_PATH}\"\ncodesign --display --verbose \"${NCURSES_PATH}\"\n\nprintf \"%s\\n\" \"---\"\nls \"${FRAMEWORKS_PATH}\"\nprintf \"%s\\n\" \"---\"\n\nprintf \"## Executables\\n\"\nEXECUTABLES_PATH=\"${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}\"\nrealpath \"${EXECUTABLES_PATH}\" \n\nprintf \"### ccodoc.command\\n\"\nprintf \"%s\\n\" \"- Copy\"\nCOMMAND_PATH_SRC=\"${BUILT_PRODUCTS_DIR}/${COMMAND_PRODUCT_NAME}\"\nCOMMAND_PATH=\"${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}/${COMMAND_PRODUCT_NAME}\"\ncp \"${COMMAND_PATH_SRC}\" \"${COMMAND_PATH}\" \nrealpath \"${COMMAND_PATH}\"\n\nprintf \"%s\\n\" \"- Use Frameworks\"\ninstall_name_tool -change \"${LIB_NCURSES_PATH}\" \"@rpath/${NCURSES_PRODUCT_NAME}\" \"${COMMAND_PATH}\"\ninstall_name_tool -add_rpath \"${LD_RUN_PATH}\" \"${COMMAND_PATH}\"\notool -L \"${COMMAND_PATH}\" \n\nprintf \"%s\\n\" \"- CodeSign\"\ncodesign --sign \"${CODE_SIGN_IDENTITY}\" --force --options runtime \"${COMMAND_PATH}\"\ncodesign --display --verbose \"${COMMAND_PATH}\"\n\nprintf \"%s\\n\" \"---\"\nls \"${EXECUTABLES_PATH}\"\nprintf \"%s\\n\" \"---\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + F557B0472B80F9B0005CD00D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F557B06A2B80FADD005CD00D /* App.swift in Sources */, + F557B0672B80FADD005CD00D /* RunCcodoc.swift in Sources */, + F557B06B2B80FADD005CD00D /* main.swift in Sources */, + F557B0682B80FADD005CD00D /* AppleScript.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + F557B07F2B80FE36005CD00D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F557B0762B80FDD2005CD00D /* command */; + targetProxy = F557B07E2B80FE36005CD00D /* PBXContainerItemProxy */; + }; + F557B0812B80FE58005CD00D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F557B06D2B80FCD1005CD00D /* raw */; + targetProxy = F557B0802B80FE58005CD00D /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + F557B0582B80F9B3005CD00D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 14.2; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PROJECT_ROOT = "$(SRCROOT)/.."; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + F557B0592B80F9B3005CD00D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 14.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PROJECT_ROOT = "$(SRCROOT)/.."; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + F557B05B2B80F9B3005CD00D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = ccodoc/ccodoc.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + COMMAND_PRODUCT_NAME = "$(PROJECT_NAME).command"; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 7675C8B65F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.lifestyle"; + INFOPLIST_KEY_NSAppleEventsUsageDescription = "Terminal is used only to run ccodoc"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSMainStoryboardFile = ""; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + LD_RUN_PATH = "@executable_path/../Frameworks"; + LIB_NCURSES_PATH = "/usr/local/opt/ncurses/lib/$(NCURSES_PRODUCT_NAME)"; + MARKETING_VERSION = 1.0; + NCURSES_PRODUCT_NAME = libncursesw.6.dylib; + PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + F557B05C2B80F9B3005CD00D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = ccodoc/ccodoc.entitlements; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application"; + CODE_SIGN_STYLE = Manual; + COMBINE_HIDPI_IMAGES = YES; + COMMAND_PRODUCT_NAME = "$(PROJECT_NAME).command"; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=macosx*]" = 7675C8B65F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.lifestyle"; + INFOPLIST_KEY_NSAppleEventsUsageDescription = "Terminal is used only to run ccodoc"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSMainStoryboardFile = ""; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + LD_RUN_PATH = "@executable_path/../Frameworks"; + LIB_NCURSES_PATH = "/usr/local/opt/ncurses/lib/$(NCURSES_PRODUCT_NAME)"; + MARKETING_VERSION = 1.0; + NCURSES_PRODUCT_NAME = libncursesw.6.dylib; + PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + F557B06F2B80FCD1005CD00D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ADD_LDFLAGS = "-L/usr/local/opt/ncurses/lib"; + PRODUCT_NAME = "$(PROJECT_NAME).$(TARGET_NAME)"; + }; + name = Debug; + }; + F557B0702B80FCD1005CD00D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ADD_LDFLAGS = "-L/usr/local/opt/ncurses/lib"; + PRODUCT_NAME = "$(PROJECT_NAME).$(TARGET_NAME)"; + }; + name = Release; + }; + F557B07C2B80FDD3005CD00D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 7675C8B65F; + ENABLE_HARDENED_RUNTIME = YES; + PRODUCT_NAME = "$(PROJECT_NAME).$(TARGET_NAME)"; + }; + name = Debug; + }; + F557B07D2B80FDD3005CD00D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=macosx*]" = 7675C8B65F; + ENABLE_HARDENED_RUNTIME = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.tomocy.ccodoc.command; + PRODUCT_NAME = "$(PROJECT_NAME).$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + F557B0462B80F9B0005CD00D /* Build configuration list for PBXProject "ccodoc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F557B0582B80F9B3005CD00D /* Debug */, + F557B0592B80F9B3005CD00D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F557B05A2B80F9B3005CD00D /* Build configuration list for PBXNativeTarget "ccodoc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F557B05B2B80F9B3005CD00D /* Debug */, + F557B05C2B80F9B3005CD00D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F557B06E2B80FCD1005CD00D /* Build configuration list for PBXLegacyTarget "raw" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F557B06F2B80FCD1005CD00D /* Debug */, + F557B0702B80FCD1005CD00D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F557B07B2B80FDD3005CD00D /* Build configuration list for PBXNativeTarget "command" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F557B07C2B80FDD3005CD00D /* Debug */, + F557B07D2B80FDD3005CD00D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = F557B0432B80F9B0005CD00D /* Project object */; +} diff --git a/xcode/app/App.swift b/xcode/ccodoc/App.swift similarity index 100% rename from xcode/app/App.swift rename to xcode/ccodoc/App.swift diff --git a/xcode/app/AppleScript.swift b/xcode/ccodoc/AppleScript.swift similarity index 100% rename from xcode/app/AppleScript.swift rename to xcode/ccodoc/AppleScript.swift diff --git a/xcode/app/Assets.xcassets/AccentColor.colorset/Contents.json b/xcode/ccodoc/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from xcode/app/Assets.xcassets/AccentColor.colorset/Contents.json rename to xcode/ccodoc/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/xcode/app/Assets.xcassets/AppIcon.appiconset/Contents.json b/xcode/ccodoc/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from xcode/app/Assets.xcassets/AppIcon.appiconset/Contents.json rename to xcode/ccodoc/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/xcode/app/Assets.xcassets/Contents.json b/xcode/ccodoc/Assets.xcassets/Contents.json similarity index 100% rename from xcode/app/Assets.xcassets/Contents.json rename to xcode/ccodoc/Assets.xcassets/Contents.json diff --git a/xcode/app/RunCcodoc.swift b/xcode/ccodoc/RunCcodoc.swift similarity index 100% rename from xcode/app/RunCcodoc.swift rename to xcode/ccodoc/RunCcodoc.swift diff --git a/xcode/app/app.entitlements b/xcode/ccodoc/ccodoc.entitlements similarity index 100% rename from xcode/app/app.entitlements rename to xcode/ccodoc/ccodoc.entitlements diff --git a/xcode/app/main.swift b/xcode/ccodoc/main.swift similarity index 100% rename from xcode/app/main.swift rename to xcode/ccodoc/main.swift