Skip to content

Instantly share code, notes, and snippets.

@basuke
Last active Apr 21, 2021
Embed
What would you like to do?
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout
<< "sizeof(unsigned int) " << sizeof(unsigned int) << "\n"
<< "sizeof(unsigned) " << sizeof(unsigned) << "\n"
<< "sizeof(unsigned long) " << sizeof(unsigned long) << "\n"
<< "sizeof(size_t) " << sizeof(size_t) << "\n";
return 0;
}
sizeof(unsigned int) 4
sizeof(unsigned) 4
sizeof(unsigned long) 8
sizeof(size_t) 8
Program ended with exit code: 0
Showing All Messages
Prepare build
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Using build description from memory
Build target test of project test with configuration Debug
CreateBuildDirectory /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex (in target 'test' from project 'test')
cd /Users/basuke/playground/test
builtin-create-build-directory /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex
CreateBuildDirectory /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products (in target 'test' from project 'test')
cd /Users/basuke/playground/test
builtin-create-build-directory /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/DerivedSources/Entitlements.plist (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/DerivedSources/Entitlements.plist
ProcessProductPackaging "" /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test.xcent (in target 'test' from project 'test')
cd /Users/basuke/playground/test
Entitlements:
{
"com.apple.security.get-task-allow" = 1;
}
builtin-productPackagingUtility -entitlements -format xml -o /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test.xcent
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-project-headers.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-project-headers.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-own-target-headers.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-own-target-headers.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-generated-files.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-generated-files.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-all-target-headers.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-all-target-headers.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-all-non-framework-target-headers.hmap (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-all-non-framework-target-headers.hmap
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/all-product-headers.yaml (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/all-product-headers.yaml
WriteAuxiliaryFile /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/test.LinkFileList (in target 'test' from project 'test')
cd /Users/basuke/playground/test
write-file /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/test.LinkFileList
CompileC /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/main.o /Users/basuke/playground/test/test/main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'test' from project 'test')
cd /Users/basuke/playground/test
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target arm64-apple-macos11.1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu++14 -stdlib\=libc++ -fmodules -gmodules -fmodules-cache-path\=/Users/basuke/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/basuke/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wquoted-include-in-framework-header -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DDEBUG\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Index/DataStore -iquote /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-generated-files.hmap -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-own-target-headers.hmap -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-all-target-headers.hmap -iquote /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test-project-headers.hmap -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/include -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/DerivedSources-normal/arm64 -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/DerivedSources/arm64 -I/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/DerivedSources -F/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug -MMD -MT dependencies -MF /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/main.dia -c /Users/basuke/playground/test/test/main.cpp -o /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/main.o
Ld /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test normal (in target 'test' from project 'test')
cd /Users/basuke/playground/test
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-macos11.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -L/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug -F/Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug -filelist /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/test.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/test_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib\=libc++ -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/Objects-normal/arm64/test_dependency_info.dat -o /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test
CodeSign /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test (in target 'test' from project 'test')
cd /Users/basuke/playground/test
export CODESIGN_ALLOCATE\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Apple Development: Yosuke Suzuki (K4YZTD223Y)"
/usr/bin/codesign --force --sign 22C295373E288E4B15CE3AC5138E24CF54E3FB73 -o runtime --entitlements /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Intermediates.noindex/test.build/Debug/test.build/test.xcent --timestamp\=none /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test
RegisterExecutionPolicyException /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test (in target 'test' from project 'test')
cd /Users/basuke/playground/test
builtin-RegisterExecutionPolicyException /Users/basuke/Library/Developer/Xcode/DerivedData/test-ahrrrfhgixwkfebqjlaxzrrklala/Build/Products/Debug/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment