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
I pod install fishhook from github, but an error was reported at building:
Undefined symbols for architecture arm64:
"_rebind_symbols", referenced from:
_main in main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
I found out why is it not compiling successfully.
At the head of rebind_symbols() function there is a macro definition of FISHHOOK_VISIBILITY.
The FISHHOOK_VISIBILITY depends on the FISHHOOK_EXPORT macro definition.
But the FISHHOOK_EXPORT macro definition is not defined.
Thus the state of the rebind_symbols() function is hidden.
You can comment out FISHHOOK_VISIBILITY and it will compile successfully.
I pod install fishhook from github, but an error was reported at building:
Undefined symbols for architecture arm64:
"_rebind_symbols", referenced from:
_main in main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: