Thanks to this post and the now built-in static library template, I am able to put some of the pieces of my project elsewhere. Everything compiles with no warnings and runs fine. However, I used to get autocomplete for the categories in my import statement. This is no longer happening. How can I get autocomplete for categories in a static library?
+2
A:
Take the info of your project's 'Target'
Go to 'Other Linker Flags' and add '-all_load'.
Hope this helps :)
xCode
2010-10-20 12:08:23
Sure looks good, I'll mark it as best answer if it works, thanks!
Yar
2010-10-20 14:01:24
+1 you may also need the `-ObjC` linker flag.
Dave DeLong
2010-10-20 15:44:45
@DaveDeLong, xCode, neither seems to help. I have -ObjC -all_load and `-licucore` (for RegexLite).
Yar
2010-10-24 18:37:52