Skip to content

qing-song/debug-objc2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

编译Runtime源码objc4-723

1. OS X 10.13 Xcode 9.x 请参考:objc - 编译Runtime源码objc4-723

2. OS X 10.12 Xcode 8.x 请参考:objc - 编译Runtime源码objc4-706

3. OS X 10.11 Xcode 7.x 请参考:objc - 编译Runtime源码objc4-680

Runtime源码objc4-723编译环境:macOS 11.13Xcode 9.3 需要用到的源码:

  • dyld-519.2.1
  • launchd-842.1.4
  • libauto-187
  • Libc-825.40.1
  • libclosure-67
  • libdispatch-913.1.6
  • libpthread-301.1.6
  • xnu-4570.1.46
  • objc4-723

遇到问题可以参考 objc4-680objc4- 706 的解决方案。

补充:

1. Use of undeclared identifier ‘DYLD_MACOSX_VERSION_10_11

Use of undeclared identifier ‘DYLD_MACOSX_VERSION_10_12 Use of undeclared identifier ‘DYLD_MACOSX_VERSION_10_13 在 dyld_priv.h 文件顶部加入一下宏: #define DYLD_MACOSX_VERSION_10_11 0x000A0B00 #define DYLD_MACOSX_VERSION_10_12 0x000A0C00 #define DYLD_MACOSX_VERSION_10_13 0x000A0D00

2. 'objc-runtime-oldobjc-shared-cache.h.h' file not found

这个问题,貌似是苹果官方文档写的问题,引入错误,这里,可以参考旧版本的写法: 注释掉 // include "objc-runtime-oldobjc-shared-cache.h.h" 引入 objc-runtime-old.h

About

编译Runtime源码objc4-723

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published