You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
Although I've declared a protocol by @aspect() macro, but I will get null when invoking objc_getProtocol() in the @aspectimplementation macro, and get a run time error when using @aspectimplementation.
*** Assertion failure in BOOL ext_loadSpecialProtocol(Protocol *__strong, void (^__strong)(__unsafe_unretained Class))()
After I change the line in the aspectimplementation macro
interface NAME ## _AspectContainer : NSObject {} \
to this line with an explicit protocol declaration
interface NAME ## _AspectContainer : NSObject <NAME> {} \
everything is fine.
So I think the compiler might not compiler or include the non-using protocol.
The text was updated successfully, but these errors were encountered:
Although I've declared a protocol by
@aspect()
macro, but I will getnull
when invokingobjc_getProtocol()
in the@aspectimplementation
macro, and get a run time error when using@aspectimplementation
.After I change the line in the
aspectimplementation
macroto this line with an explicit protocol declaration
everything is fine.
So I think the compiler might not compiler or include the non-using protocol.
The text was updated successfully, but these errors were encountered: