Xcode 4.1 not adding library for BCTabBarViewController
I wanted to try out BCTabBarController and added the files to my test-project by:
- Dragging the BCTabBarController.xcodeproj onto my project in the project navigator.
- Going to my project/target/Build Phases/Target Dependencies and adding BCTabb开发者_C百科arController (little house icon)
- Going to project/target/Build Phases/Link Binaries With Libraries and add the libBCTabbarCOntroller.
Usually when I add a library like this, the .a library file will show up in my project navigator (and I drag it to frameworks to keep things tidy).
Strangely enough this did not happen with the libBCTabbarController.a file, it was nowhere. And surely enough, the BCTabBarController.h header is not recognized anywhere.
What can cause this behavior? My debugging options are pretty limited, but I suspect that Xcode 4.1 finds something about the library it does not "like" and does not add it to my project.
It would be a lot easier to just use the source code files in your current project then trying to build a library, import it, etc. Then that way you can customize the source if you desire, without having to rebuild the lib/framework and re-import it.
Select the BCTabbar as a target and build it .then repeat the above it would add
精彩评论