- install lima
brew install lima- if docker for mac is not installed, install docker cli
brew install docker docker-buildx docker-completion- create docker instance
| ARG SLEEP | |
| ARG _SLEEP_SELECTOR=${SLEEP:+-sleep} | |
| # This is a stage that will be used to build the target executable | |
| FROM ubuntu AS builder | |
| ARG SLEEP | |
| RUN false || [ -n "${SLEEP}" ] # Ignore error if SLEEP is set | |
| # This is a stage to wait for attaching a shell | |
| FROM builder AS builder-sleep |
brew install limabrew install docker docker-buildx docker-completion| TruAnon Verification Key: 7atz5gnfvbms3dljtyokfguqha - I am using TruAnon to verify Github. |
| .section __TEXT,__text,regular,pure_instructions | |
| .build_version macos, 10, 15 sdk_version 10, 15 | |
| .globl _main | |
| .p2align 4, 0x90 | |
| _main: | |
| .cfi_startproc | |
| pushq %rbp | |
| .cfi_def_cfa_offset 16 | |
| .cfi_offset %rbp, -16 | |
| movq %rsp, %rbp |
| ➜ 15:27:26 git clone https://github.com/jpsim/Yams.git | |
| Cloning into 'Yams'... | |
| remote: Enumerating objects: 111, done. | |
| remote: Counting objects: 100% (111/111), done. | |
| remote: Compressing objects: 100% (80/80), done. | |
| remote: Total 3987 (delta 58), reused 71 (delta 31), pack-reused 3876 | |
| Receiving objects: 100% (3987/3987), 4.24 MiB | 1.85 MiB/s, done. | |
| Resolving deltas: 100% (2313/2313), done. | |
| ➜ 15:27:43 cd Yams | |
| ➜ 15:27:46 git:(master) rm -rf Yams.xcodeproj |
vmnet3) to VMware Fusion
sudo vi /Library/Preferences/VMware\ Fusion/networking
answer VNET_1_HOSTONLY_SUBNET 172.16.92.0
answer VNET_1_VIRTUAL_ADAPTER yes
answer VNET_1_VIRTUAL_ADAPTER_ADDR 172.16.92.1
+answer VNET_3_DHCP yes
+answer VNET_3_DHCP_PARAM_DNS_ADDR 172.16.12.1
+answer VNET_3_DHCP_PARAM_ROUTERS 172.16.12.1| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>local.internal.docker.host.bonjour</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/dns-sd</string> | |
| <string>-P</string> |
| $ echo 'import Dispatch; func f() {}; DispatchQueue.global(qos: .default).async { f() }; dispatchMain()'|swiftc - | |
| $ lldb | |
| (lldb) target create main | |
| Current executable set to 'main' (x86_64). | |
| (lldb) b f | |
| Breakpoint 1: 9 locations. | |
| (lldb) process launch -v DYLD_LIBRARY_PATH=/usr/lib/system/introspection -v DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libBacktraceRecording.dylib | |
| Process 33297 launched: '/Users/norio/github/swift-dev/SourceKitten/main' (x86_64) | |
| Process 33297 stopped | |
| * thread #2, queue = 'com.apple.root.default-qos', stop reason = breakpoint 1.1 |
| key.request: source.request.editor.open | |
| key.name: "2178448306979356082" | |
| key.sourcetext: "/* 👨👩👧👦👨👩👧👦👨👩👧👦 */\n`init`(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}" |