Quelle est la bonne façon de modifier un fichier Symboles Exporté dans Xcode?
Question
Je suis en train de modifier un cadre de projets existants, son est un cadre JavaScriptCore personnalisé. Le fichier d'exportation JavaScriptCore Symbole est inclus dans le projet. Comment puis-je ajouter correctement une fonction à la liste.
Ils regardent cryptique comme ceci:
__ZN3WTF21RefCountedLeakCounterD1Ev
__ZN3WTF23callOnMainThreadAndWaitEPFvPvES0_
__ZN3WTF23dayInMonthFromDayInYearEib
__ZN3WTF23waitForThreadCompletionEjPPv
__ZN3WTF27releaseFastMallocFreeMemoryEv
__ZN3WTF28setMainThreadCallbacksPausedEb
Alors, comment puis-je ajouter le nom de la fonction avec le bon préfixe et le suffixe là-dessus?
Y at-il un outil que je suis absent ou une étape que je suis absent, rien ne semble changer ce fichier, sauf pour moi de le faire manuellement?
Merci à l'avance.
La solution
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.