retval / objc-runtime Goto Github PK
View Code? Open in Web Editor NEWA debuggable objc runtime
License: Other
A debuggable objc runtime
License: Other
同样希望博主能加上 CoreFoundation、libdispatch,拜托:
https://github.com/apple/swift-corelibs-foundation
https://github.com/apple/swift-corelibs-libdispatch
麻烦博主更新到最新的 objc4-818.2 版本吧,麻烦了,谢谢了~
dyld: Symbol not found: _sel_hash
Referenced from: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Expected in: /Users/yumu/Library/Developer/Xcode/DerivedData/objc-eqtajswswqnllsdtitmgkdoikmzo/Build/Products/Debug/libobjc.A.dylib
in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(lldb)
i download you project and run it,my scheme is debug-objc,and in My Mac,it crashed。the log is dyld: Symbol not found: __object_getExternalHash
Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in: /Users/chenpeng/Library/Developer/Xcode/DerivedData/objc-exdgpjmktzxpjsfjdmdwwchlrjuq/Build/Products/Debug/libobjc.A.dylib
in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 。
i find answear in website.almot said import library in Build Phases->Link Binary with Libraries,and changed the library in Optional Status。i tried,however the crash is still exist.
macosOS Catalina 10.15 (19a582a)版本 objc-My Mac 编译,想得到libobjc.A.dylib 文件
Undefined symbol: _objc_opt_class
请问这个大概什么地方出问题了?
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
我的QQ是1770421128,希望能详细交流一下
objc4-756.2 has been released.
Xcode 9 下打开项目运行失败。
Thanks for sharing this! :)
Saved me from a lot of headache.
Do you plan to make update this for objc4-680?
when you add a new target , yout must disable the Hardened Runtime capability
if ((ivars = cls->data()->ro->ivars) && ivars->count) {
result = (Ivar *)malloc((ivars->count+1) * sizeof(Ivar));
for (auto& ivar : *ivars) {
if (!ivar.offset) continue; // anonymous bitfield
result[count++] = &ivar;
}
result[count] = nil;
}
这里为什么要使用ivars->count+1,以及后面的result[count] = nil;呢?
直接使用ivars->count不行吗?
Supplement my previous question,when the demo run in 0x7fff5fc01075 <+1>: not,it shows Thread1:EXC_BREAKPOINT(code=EXC_I386_BPT,subcode=0x0)。however i didn't set any breakpoint,then i clicked continue program execution, in 0x7fff5fc011ec <+374>: cmpq $0x0, (%rbx),it shows Thread1:EXC_BAD_ACCESS(code=1,address=0x10).
I am new here and can not build the project on MacOS Big Sur 11.0.1, Xcode 12.1.
Can anyone give some help or hint on the issue?
Thank you very much.
我在苹果官方下载的objc源码,680,编译出错 : 'mach-o/dyld_priv.h' file not found
下载你的这个工程后,编译正常,请问这个文件从哪里找呢?
另外请问下你的博客是?很想拜读一下
When I run debug-objc binary e.g. id obj = [[NSObject alloc] init];
the debug point +alloc is not triggering in NSObject.mm
Mac version:10.14.6 Xcode: Version 11.3.1
Do you know why and how I can fix it? Thanks.
系统版本:macosOS Catalina 10.15.2 (19C57)
Xcode版本:11.3 (11C29)
是需要更新到 779.1 吗?
https://opensource.apple.com/tarballs/objc4/objc4-779.1.tar.gz
objc-runtime/include/os/lock_private.h:481:2: Use of undeclared identifier 'os_unfair_lock_assert_owner'
dyld: Symbol not found: _sel_hash
Referenced from: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Expected in: /Users/kv/Library/Developer/Xcode/DerivedData/objc-dhysxkizblskplbiwqtviqdmfcvm/Build/Products/Debug/libobjc.A.dylib
in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
how to fix it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.