views:

41

answers:

1

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
Sure looks good, I'll mark it as best answer if it works, thanks!
Yar
+1 you may also need the `-ObjC` linker flag.
Dave DeLong
@DaveDeLong, xCode, neither seems to help. I have -ObjC -all_load and `-licucore` (for RegexLite).
Yar