开发者

Adding three20 libraries to an iPhone project

I'm adding Three20 to my project but I seem to be missing

libThree20-Xcode3.2.2.a
libThree20-Xcode3.2.5.a
libThree20.a
Three20UnitTests-Xcode3.2.2.octest
Three20UnitTests-Xcode3.2.5.octest
Three20UnitTests.octest

in the Three20.xc开发者_如何学Codeproj project. I haven't been able to find these, eg. by using Spotlight. For reference I'm following the instructions given here under "Migrating to the New Three20".

What am I not doing?


You shouldn't need to link all of those libraries with your application. The instructions you are following aren't very clear about that. The unit tests for example, are simply for testing the three20 project itself and you won't want them included in your final application. The 3 different lib targets for each project, as far as I can tell, simply have a different target SDK setting for each. You only need to check and include 1 in your project. I just check the main one from each project, without the XCode version suffix.

So first, be sure to follow the "Migrating to three20" step 3 very closely. The projects below the main three20 project ALSO need to be dragged into your project to be built. Being listed under the main three20 project's dependencies, at first seems as if they'll be included, but they must also be dragged into your project.

Second, step 5 should read "Ensure that the checkbox beside ONE lib file is checked in EACH three20 project. Do not check any octest."

Hope that works for you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜