开发者

What is the proper way to modify an Exported Symbols File in Xcode?

I am modifying an existing projects framework, its is a custom JavaScriptCore framework. The JavaScriptCore Export Symbol File is included in the project. How do I properly add a function to the list.

They look cryptic like this:

__ZN3WTF21RefCountedLeakCounterD1Ev
__ZN3WTF23callOnMainThreadAndWaitEPFvPvES0_
__ZN3WTF23dayInMonthFromDayInYearEib
__ZN3WTF23waitForThreadCompletionEjPPv
__ZN3WTF27releaseFastMallocFreeMemoryEv
__ZN3WTF28开发者_StackOverflow社区setMainThreadCallbacksPausedEb

So how do I add function name with the correct prefix and suffix on it?

Is there a tool that I am missing or a step I am missing, nothing seems to change this file, except for me doing it manually?

Thanks in advance.


You can use the Unix command line too nm:

http://compute.cnr.berkeley.edu/cgi-bin/man-cgi?nm

nm will print the symbol table of an binary. Then you can find your method in the list and cut and paste that into your export symbol file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜