RetVal / objc-runtime

A debuggable objc runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run debug-objc error

broccolii opened this issue · comments

System: 10.14
Xcode version: 10.0

log:

dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator
  Referenced from: /usr/lib/system/libxpc.dylib
  Expected in: /Users/Broccoli/Library/Developer/Xcode/DerivedData/objc-ggxyshopfnvlkucfncktchujxfnx/Build/Products/Debug/libobjc.A.dylib
 in /usr/lib/system/libxpc.dylib
commented

I also encountered the same problem

me too

System: 10.14
Xcode version: 10.0

log:

dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator
  Referenced from: /usr/lib/system/libxpc.dylib
  Expected in: /Users/Broccoli/Library/Developer/Xcode/DerivedData/objc-ggxyshopfnvlkucfncktchujxfnx/Build/Products/Debug/libobjc.A.dylib
 in /usr/lib/system/libxpc.dylib

Please waiting for the 10.14 version of objc runtime.

commented

Any solutions can resolve it?

commented

Mark.

MacOS: 10.14.1
XCode:10.0

dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator Referenced from: /usr/lib/system/libxpc.dylib Expected in: /Users/hanwei/Desktop/Runtime Learn/runtime-723/libobjc.A.dylib in /usr/lib/system/libxpc.dylib

commented

自问自答。
是电脑系统的问题,装了macOS10.13.6,就可以正常DEBUG了。

感谢作者提供可编译的runtime😄

new version of runtime 750 for macOS 10.14.

commented

The new version code is built successfully.Thanks!

commented

new version of runtime 750 for macOS 10.14.

我在10.14.1的系统上能编译,但是打断点为啥没效果啊,我把xcode删除再重装都不行,我xcode版本是10.1的

@idewindy run debug-objc target

commented
commented

@idewindy run debug-objc target

我看有模拟器的target,为啥没有相关的文件啊

Mac OS Mojave: 10.14.1
Xcode: 10.1
Same error:
dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator
Referenced from: /usr/lib/system/libxpc.dylib
Expected in: /Users/yumengtang/Library/Developer/Xcode/DerivedData/objc-hacrsmmlntsetzcporbpgnoppuiy/Build/Products/Debug/libobjc.A.dylib
in /usr/lib/system/libxpc.dylib
Message from debugger: Terminated due to signal 9
Program ended with exit code: 0

Mac OS Mojave: 10.14.1
Xcode: 10.1
Same error:
dyld: Symbol not found: _objc_debug_taggedpointer_obfuscator
Referenced from: /usr/lib/system/libxpc.dylib
Expected in: /Users/yumengtang/Library/Developer/Xcode/DerivedData/objc-hacrsmmlntsetzcporbpgnoppuiy/Build/Products/Debug/libobjc.A.dylib
in /usr/lib/system/libxpc.dylib
Message from debugger: Terminated due to signal 9
Program ended with exit code: 0

I know the reason.
The objc runtime version is too low.
Can use the objc-750 version.
https://github.com/ssyzh/objc4-750

new version of runtime 750 for macOS 10.14.

我在10.14.1的系统上能编译,但是打断点为啥没效果啊,我把xcode删除再重装都不行,我xcode版本是10.1的

新建了一个target,重新设置下 Build Phase->Target Dependencies,选择objc ,断点生效了