JPMartha's Pancake

This blog is the way to brush up my poor English.

事前クリーン有無によるビルドの違い

この記事は こちらの記事 を分割したものです。

try! Swift に参加中ですが消化不良でモヤモヤした感じだったので 気分転換に 気になることを調べました。🤓

概要

  • 事前クリーン有無によるビルド比較

前提

  • 作成中の 自作ツール での話です。(脱線しまくりで進捗なしです 🤕)
  • diff コマンドで比較すると順序の違いなども多く検出されるため目で比較しました。👀

github.com

ビルドログ比較

ビルド前にクリーンするかしないかで処理時間が圧倒的に違うのでビルドログを比較しました。

xcodebuild コマンドでは clean を付けてクリーンします。

$ xcodebuild -target pancake -configuration Release clean
  • CommandBuildLogVerbose.txt
    • 事前クリーンあり
  • CommandBuildLogVerboseWithoutClean.txt
    • 事前クリーンなし
$ diff CommandBuildLogVerbose.txt CommandBuildLogVerboseWithoutClean.txt > diffClean.txt

👇

事前に クリーンした場合のみ 出力される部分を抜粋します。

< Write auxiliary files
< /bin/mkdir -p /.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources/PancakeKit_vers.c
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/swift-overrides.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/module.modulemap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-generated-files.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-all-target-headers.hmap
< /bin/mkdir -p /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.LinkFileList
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-all-non-framework-target-headers.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-own-target-headers.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-project-headers.hmap
< write-file /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-OutputFileMap.json
< 
< Create product structure
< /bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Modules
< /bin/ln -sfh Versions/Current/Modules /.../Pancake/build/Release/PancakeKit.framework/Modules
< /bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Headers
< /bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< /bin/ln -sfh A /.../Pancake/build/Release/PancakeKit.framework/Versions/Current
< /bin/ln -sfh Versions/Current/Resources /.../Pancake/build/Release/PancakeKit.framework/Resources
< /bin/ln -sfh Versions/Current/Headers /.../Pancake/build/Release/PancakeKit.framework/Headers
< /bin/ln -sfh Versions/Current/PancakeKit /.../Pancake/build/Release/PancakeKit.framework/PancakeKit
< 
< ProcessInfoPlistFile build/Release/PancakeKit.framework/Versions/A/Resources/Info.plist Sources/PancakeKit/Info.plist
<     cd /.../Pancake
<     builtin-infoPlistUtility /.../Pancake/Sources/PancakeKit/Info.plist -expandbuildsettings -platform macosx -o /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources/Info.plist
< 
< CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
<     cd /.../Pancake
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name PancakeKit -O -whole-module-optimization -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -target x86_64-apple-macosx10.10 -g -Xfrontend -serialize-debugging-options -application-extension -I /.../Pancake/build/Release -F /.../Pancake/build/Release -F /.../Pancake/Carthage/Build/Mac -c -num-threads 4 /.../Pancake/Sources/PancakeKit/MarkdownTemplate.swift /.../Pancake/Sources/PancakeKit/WriteToFile.swift /.../Pancake/Sources/PancakeKit/SwiftDocsParser.swift /.../Pancake/Sources/PancakeKit/MarkdownOutput.swift /.../Pancake/Sources/PancakeKit/SwiftObject.swift /.../Pancake/Sources/PancakeKit/MarkdownGenerator.swift -output-file-map /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftmodule -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/swift-overrides.hmap -Xcc -iquote -Xcc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-generated-files.hmap -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-own-target-headers.hmap -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /.../Pancake/build/Pancake.build/all-product-headers.yaml -Xcc -iquote -Xcc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-project-headers.hmap -Xcc -I/.../Pancake/build/Release/include -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources/x86_64 -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources -Xcc -DNDEBUG=1 -emit-objc-header -emit-objc-header-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-Swift.h -Xcc -working-directory/.../Pancake
< 
< CompileSwift normal x86_64
<     cd /.../Pancake
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /.../Pancake/Sources/PancakeKit/MarkdownTemplate.swift /.../Pancake/Sources/PancakeKit/WriteToFile.swift /.../Pancake/Sources/PancakeKit/SwiftDocsParser.swift /.../Pancake/Sources/PancakeKit/MarkdownOutput.swift /.../Pancake/Sources/PancakeKit/SwiftObject.swift /.../Pancake/Sources/PancakeKit/MarkdownGenerator.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I /.../Pancake/build/Release -F /.../Pancake/build/Release -F /.../Pancake/Carthage/Build/Mac -application-extension -g -serialize-debugging-options -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/swift-overrides.hmap -Xcc -iquote -Xcc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-generated-files.hmap -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-own-target-headers.hmap -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /.../Pancake/build/Pancake.build/all-product-headers.yaml -Xcc -iquote -Xcc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-project-headers.hmap -Xcc -I/.../Pancake/build/Release/include -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources/x86_64 -Xcc -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources -Xcc -DNDEBUG=1 -Xcc -working-directory/.../Pancake -emit-module-doc-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftdoc -O -module-name PancakeKit -emit-module-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftmodule -emit-objc-header-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-Swift.h -serialize-diagnostics-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/MarkdownTemplate.dia -emit-dependencies-path /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/MarkdownTemplate.d -num-threads 4 -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/MarkdownTemplate.o -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/WriteToFile.o -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/SwiftDocsParser.o -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/MarkdownOutput.o -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/SwiftObject.o -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/MarkdownGenerator.o
< 
< Ditto build/Release/PancakeKit.framework/Versions/A/Headers/PancakeKit-Swift.h build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-Swift.h
<     cd /.../Pancake
<     /usr/bin/ditto -rsrc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit-Swift.h /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Headers/PancakeKit-Swift.h
< 
< Ditto build/Release/PancakeKit.framework/Versions/A/Modules/PancakeKit.swiftmodule/x86_64.swiftmodule build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftmodule
<     cd /.../Pancake
<     /usr/bin/ditto -rsrc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftmodule /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Modules/PancakeKit.swiftmodule/x86_64.swiftmodule
< 
< CompileC build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit_vers.o build/Pancake.build/Release/PancakeKit.build/DerivedSources/PancakeKit_vers.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
<     cd /.../Pancake
<     export LANG=en_US.US-ASCII
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/5x/l_0jpc255pnfrsl05v0_627c0000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Xclang -fmodule-implementation-of -Xclang PancakeKit -fapplication-extension -Wno-trigraphs -fpascal-strings -Os -fno-common -Werror -Wmissing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DNDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wno-sign-conversion -iquote /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-generated-files.hmap -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-own-target-headers.hmap -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-all-non-framework-target-headers.hmap -ivfsoverlay /.../Pancake/build/Pancake.build/all-product-headers.yaml -iquote /.../Pancake/build/Pancake.build/Release/PancakeKit.build/PancakeKit-project-headers.hmap -I/.../Pancake/build/Release/include -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources/x86_64 -I/.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources -Wno-error=unknown-warning-option -Wno-gcc-compat -Wno-unused-const-variable -Wno-nullability-completeness -F/.../Pancake/build/Release -F/.../Pancake/Carthage/Build/Mac -MMD -MT dependencies -MF /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit_vers.d --serialize-diagnostics /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit_vers.dia -c /.../Pancake/build/Pancake.build/Release/PancakeKit.build/DerivedSources/PancakeKit_vers.c -o /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit_vers.o
< 
< Ditto build/Release/PancakeKit.framework/Versions/A/Modules/PancakeKit.swiftmodule/x86_64.swiftdoc build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftdoc
<     cd /.../Pancake
<     /usr/bin/ditto -rsrc /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftdoc /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Modules/PancakeKit.swiftmodule/x86_64.swiftdoc
< 
< Ld build/Release/PancakeKit.framework/Versions/A/PancakeKit normal x86_64
<     cd /.../Pancake
<     export MACOSX_DEPLOYMENT_TARGET=10.10
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/.../Pancake/build/Release -F/.../Pancake/build/Release -F/.../Pancake/Carthage/Build/Mac -filelist /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.LinkFileList -install_name @rpath/PancakeKit.framework/PancakeKit -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -mmacosx-version-min=10.10 -fapplication-extension -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -Xlinker -add_ast_path -Xlinker /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit.swiftmodule -framework SWXMLHash -framework Commandant -framework Himotoki -framework Result -framework SourceKittenFramework -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /.../Pancake/build/Pancake.build/Release/PancakeKit.build/Objects-normal/x86_64/PancakeKit_dependency_info.dat -o /.../Pancake/build/Release/PancakeKit.framework/Versions/A/PancakeKit
< ld: warning: linking against dylib not safe for use in application extensions: /.../Pancake/Carthage/Build/Mac/SWXMLHash.framework/SWXMLHash
< ld: warning: linking against dylib not safe for use in application extensions: /.../Pancake/Carthage/Build/Mac/SourceKittenFramework.framework/SourceKittenFramework
< 
< GenerateDSYMFile build/Release/PancakeKit.framework.dSYM build/Release/PancakeKit.framework/Versions/A/PancakeKit
<     cd /.../Pancake
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /.../Pancake/build/Release/PancakeKit.framework/Versions/A/PancakeKit -o /.../Pancake/build/Release/PancakeKit.framework.dSYM
< 
< CpHeader Sources/PancakeKit/Pancake.h build/Release/PancakeKit.framework/Versions/A/Headers/Pancake.h
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Pancake.h /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Headers
< 
< CpResource Sources/PancakeKit/Resources/GlobalVariables.md build/Release/PancakeKit.framework/Versions/A/Resources/GlobalVariables.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/GlobalVariables.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/GlobalVariable.md build/Release/PancakeKit.framework/Versions/A/Resources/GlobalVariable.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/GlobalVariable.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/GlobalEnumerations.md build/Release/PancakeKit.framework/Versions/A/Resources/GlobalEnumerations.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/GlobalEnumerations.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/GlobalDocComment.md build/Release/PancakeKit.framework/Versions/A/Resources/GlobalDocComment.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/GlobalDocComment.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/Structures.md build/Release/PancakeKit.framework/Versions/A/Resources/Structures.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/Structures.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/Classes.md build/Release/PancakeKit.framework/Versions/A/Resources/Classes.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/Classes.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/GlobalDeclaration.md build/Release/PancakeKit.framework/Versions/A/Resources/GlobalDeclaration.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/GlobalDeclaration.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/Enumerations.md build/Release/PancakeKit.framework/Versions/A/Resources/Enumerations.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/Enumerations.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/Properties.md build/Release/PancakeKit.framework/Versions/A/Resources/Properties.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/Properties.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/Methods.md build/Release/PancakeKit.framework/Versions/A/Resources/Methods.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/Methods.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberProperty.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberProperty.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberProperty.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberEnumeration.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberEnumeration.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberEnumeration.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberMethod.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberMethod.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberMethod.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberDocComment.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberDocComment.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberDocComment.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberDeclaration.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberDeclaration.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberDeclaration.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberParameters.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberParameters.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberParameters.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberParameter.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberParameter.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberParameter.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberReturnValue.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberReturnValue.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberReturnValue.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< CpResource Sources/PancakeKit/Resources/MemberSeeAlso.md build/Release/PancakeKit.framework/Versions/A/Resources/MemberSeeAlso.md
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/Sources/PancakeKit/Resources/MemberSeeAlso.md /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
< 
< PBXCp Carthage/Build/Mac/SWXMLHash.framework build/Release/PancakeKit.framework/Versions/A/Frameworks/SWXMLHash.framework
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /.../Pancake/Carthage/Build/Mac/SWXMLHash.framework /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< PBXCp Carthage/Build/Mac/Commandant.framework build/Release/PancakeKit.framework/Versions/A/Frameworks/Commandant.framework
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /.../Pancake/Carthage/Build/Mac/Commandant.framework /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< PBXCp Carthage/Build/Mac/Result.framework build/Release/PancakeKit.framework/Versions/A/Frameworks/Result.framework
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /.../Pancake/Carthage/Build/Mac/Result.framework /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< PBXCp Carthage/Build/Mac/Himotoki.framework build/Release/PancakeKit.framework/Versions/A/Frameworks/Himotoki.framework
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /.../Pancake/Carthage/Build/Mac/Himotoki.framework /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< PBXCp Carthage/Build/Mac/SourceKittenFramework.framework build/Release/PancakeKit.framework/Versions/A/Frameworks/SourceKittenFramework.framework
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /.../Pancake/Carthage/Build/Mac/SourceKittenFramework.framework /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< Ditto build/Pancake.build/Release/PancakeKit.build/module.modulemap build/Release/PancakeKit.framework/Versions/A/Modules/module.modulemap
<     cd /.../Pancake
<     builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /.../Pancake/build/Pancake.build/Release/PancakeKit.build/module.modulemap /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Modules
< 
< CopySwiftLibs build/Release/PancakeKit.framework
<     cd /.../Pancake
<     export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
<     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool --copy --verbose --scan-executable /.../Pancake/build/Release/PancakeKit.framework/Versions/A/PancakeKit --scan-folder /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks --scan-folder /.../Pancake/build/Release/PancakeKit.framework/Versions/A/PlugIns --scan-folder /.../Pancake/Carthage/Build/Mac/SWXMLHash.framework --scan-folder /.../Pancake/Carthage/Build/Mac/Commandant.framework --scan-folder /.../Pancake/Carthage/Build/Mac/Himotoki.framework --scan-folder /.../Pancake/Carthage/Build/Mac/Result.framework --scan-folder /.../Pancake/Carthage/Build/Mac/SourceKittenFramework.framework --platform macosx --destination /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks --strip-bitcode
< Copying libswiftFoundation.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< Copying libswiftDispatch.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< Copying libswiftCore.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< Copying libswiftObjectiveC.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< Copying libswiftCoreGraphics.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< Copying libswiftDarwin.dylib from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx to /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Frameworks
< 
< Touch build/Release/PancakeKit.framework
<     cd /.../Pancake
<     /usr/bin/touch -c /.../Pancake/build/Release/PancakeKit.framework
< 
< Write auxiliary files
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/swift-overrides.hmap
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake.hmap
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/Script-2E5026581C6192B6004AE29B.sh
< chmod 0755 /.../Pancake/build/Pancake.build/Release/pancake.build/Script-2E5026581C6192B6004AE29B.sh
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake-project-headers.hmap
< /bin/mkdir -p /.../Pancake/build/Pancake.build/Release/pancake.build/DerivedSources
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/DerivedSources/pancake_vers.c
< /bin/mkdir -p /.../Pancake/build/Pancake.build/Release/pancake.build/Objects-normal/x86_64
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/Objects-normal/x86_64/pancake.LinkFileList
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/Objects-normal/x86_64/pancake-OutputFileMap.json
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake-all-non-framework-target-headers.hmap
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake-generated-files.hmap
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake-own-target-headers.hmap
< write-file /.../Pancake/build/Pancake.build/Release/pancake.build/pancake-all-target-headers.hmap
< 
< Create product structure
< /bin/mkdir -p /.../Pancake/build/Release/pancake.app/Contents
< /bin/mkdir -p /.../Pancake/build/Release/pancake.app/Contents/MacOS
< 
< ProcessInfoPlistFile build/Release/pancake.app/Contents/Info.plist Sources/pancake/Info.plist
<     cd /.../Pancake
<     builtin-infoPlistUtility /.../Pancake/Sources/pancake/Info.plist -genpkginfo /.../Pancake/build/Release/pancake.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /.../Pancake/build/Release/pancake.app/Contents/Info.plist
< 

クリーンログ

ついでにクリーンのログを出力しました。

$ xcodebuild -workspace Pancake.xcworkspace -scheme pancake -configuration Release -verbose clean > WorkspaceCleanVerbose.txt

👇

=== CLEAN TARGET PancakeKit OF PROJECT Pancake WITH CONFIGURATION Release ===

Check dependencies

Create product structure
/bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Modules
/bin/ln -sfh Versions/Current/Modules /.../Pancake/build/Release/PancakeKit.framework/Modules
/bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Headers
/bin/mkdir -p /.../Pancake/build/Release/PancakeKit.framework/Versions/A/Resources
/bin/ln -sfh A /.../Pancake/build/Release/PancakeKit.framework/Versions/Current
/bin/ln -sfh Versions/Current/Resources /.../Pancake/build/Release/PancakeKit.framework/Resources
/bin/ln -sfh Versions/Current/Headers /.../Pancake/build/Release/PancakeKit.framework/Headers
/bin/ln -sfh Versions/Current/PancakeKit /.../Pancake/build/Release/PancakeKit.framework/PancakeKit

Clean.Remove clean build/Release/PancakeKit.framework
    builtin-rm -rf /.../Pancake/build/Release/PancakeKit.framework

Clean.Remove clean build/Release/PancakeKit.framework.dSYM
    builtin-rm -rf /.../Pancake/build/Release/PancakeKit.framework.dSYM

Clean.Remove clean build/Pancake.build/Release/PancakeKit.build
    builtin-rm -rf /.../Pancake/build/Pancake.build/Release/PancakeKit.build

=== CLEAN TARGET pancake OF PROJECT Pancake WITH CONFIGURATION Release ===

Check dependencies

Create product structure
/bin/mkdir -p /.../Pancake/build/Release/pancake.app/Contents
/bin/mkdir -p /.../Pancake/build/Release/pancake.app/Contents/MacOS

Clean.Remove clean build/Release/pancake.app
    builtin-rm -rf /.../Pancake/build/Release/pancake.app

Clean.Remove clean build/Release/pancake.app.dSYM
    builtin-rm -rf /.../Pancake/build/Release/pancake.app.dSYM

Clean.Remove clean build/Pancake.build/Release/pancake.build
    builtin-rm -rf /.../Pancake/build/Pancake.build/Release/pancake.build

** CLEAN SUCCEEDED **

眠いので今日はここまでです。 🙅