MacOS 11.1xCode12.2 objc source code can not be compiled, can not debug!

Don’t panic, it’s coming, it’s coming, it’s coming on Build Succeeded!

The latest objc818 update has been uploaded to Github to try out the debuggable source code

  • 🎯 are you still worried about looking at the source code?
  • 🎯 are you still do not understand the underlying source code and worry?
  • 🎯 are you still using the old tunable source code?
  • 🎯 do you really want to have an intimate contact with the bottom?
  • 🎯 are you still reporting the following mistakes?
static_assert(bucketsMask >= MACH_VM_MAX_ADDRESS, 
"Bucket field doesn't have enough bits for arbitrary pointers.");

STATIC_ASSERT((~ISA_MASK & MACH_VM_MAX_ADDRESS) == 0  ||
              ISA_MASK + sizeof(void*) == MACH_VM_MAX_ADDRESS);
              
dyld: Symbol not found: _sel_hash Referenced from: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation Expected in: /Users/xxx/Build/Products/Debug/libobjc.A.dylib in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

Copy the code

Come and play with objC’s underlying source code, fast track

If you want to play by yourself, you can go to the debugging process I released earlier step by step

Ios_objc4-756.2 Compilation and debugging of the latest source code

Compile and debug objC4-779.1 source code under the latest macOS 10.15

PS: play cool, remember to a wave of praise 👍(after all the night compilation debugging success) thank you all