Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__ARCLite__ issue #2

Closed
inamiy opened this issue Jun 10, 2016 · 5 comments
Closed

__ARCLite__ issue #2

inamiy opened this issue Jun 10, 2016 · 5 comments

Comments

@inamiy
Copy link

inamiy commented Jun 10, 2016

This may be a project-dependent issue, but I got a following __ARCLite__ error:

2016-06-10 19:51:14.632 MyApp[60920:738362] *** NSForwarding: warning: object 0x10cf23718 of class '__ARCLite__' does not implement methodSignatureForSelector: -- trouble ahead
2016-06-10 19:51:14.632 MyApp[60920:738362] *** NSForwarding: warning: object 0x10cf23718 of class '__ARCLite__' does not implement doesNotRecognizeSelector: -- abort

It seems skipping traces of __ARCLite__ class is necessary. Or, is there any good alternative on this?

@inamiy inamiy changed the title Ignore __ARCLite__ issue __ARCLite__ issue Jun 10, 2016
@johnno1962
Copy link
Owner

johnno1962 commented Jun 10, 2016

Interesting, can you send through an example project to swift trace at johnholdsworth.com or experiment with adding it to the exclusions regexp?

@inamiy
Copy link
Author

inamiy commented Jun 10, 2016

__ARCLite__ class is somehow picked by objc_copyClassList and causes runtime crash at traceObjcClass( object_getClass( aClass ), which:"+").
Because class func valid() is called afterwards, SwiftTrace.exclude() didn't help to work around.

I will try reproducing with simple demo (current code is not shareable)

@johnno1962
Copy link
Owner

johnno1962 commented Jun 10, 2016

I’ve pushed a change to exclude __ARCLite__, can you give it a try?

@inamiy
Copy link
Author

inamiy commented Jun 10, 2016

Thanks, it now looks good 🎉
6b8f298#diff-6bb45fad74b9c5fba792b9d017cf21faR157

@inamiy inamiy closed this as completed Jun 10, 2016
@johnno1962
Copy link
Owner

I’ve pushed an update that fixes the ARM64 trampoline. You may want to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants