开发者

Xcode 4.1 not adding library for BCTabBarViewController

I wanted to try out BCTabBarController and added the files to my test-project by:

  1. Dragging the BCTabBarController.xcodeproj onto my project in the project navigator.
  2. Going to my project/target/Build Phases/Target Dependencies and adding BCTabb开发者_C百科arController (little house icon)
  3. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜