I want to work with some frameworks like glew and cg so i manually added
the needed frameworks to my project by right clicking the project ->
For those whose autocomplete fails after adding framework.
I used to add frameworks, by going to Build Phases and taking the Link Binary with Libraries option. Now in XCode 6.1, though project was building fine, autocomplete in XCode was not working.
So what needs to be done is:
Project Navigator and also from Link Binary with Libraries.File -> Add Files to option in XCode.And auto complete will start working.