[Reprinted] installation and use of iPhone three20

Source: Internet
Author: User

From http://www.cnblogs.com/wwwkhd/archive/2011/01/24/1943441.html

I,UseThree20Create a new project

1,DownloadThree20Source code

2, Open the terminal, To Templates/ Directory, and then enter the following command :
Bash installtemplates3.2.5.command

After the command is executed,Three20Is added toXcode.

3, When creating a project, you can New project "Dialog box. Three20 . Select a template to create a new template. Three20 Project. Note that the newly created project must be Three20 In the same directory.

4,OpenThree20Project fileLibthree20.aOtherwise, a compilation error occurs.

 

II,AddThree20Library.

1,Open to joinThree20Project, and then enter the Directory/Three20/src/three20/.ThreeappsxcodeprojProject File, drag this file to open the projectFrameworkFile, the following dialog box is displayed, and you can select according to the figure below:

 
 
2,Three20UsedQuartzcore, So you must addQuartzcore.

 
 
 
In the displayed dialog box, selectQuartzcore:
 
 

 

 
3,ThenThree20First click AddFrameworkGroupThree20, The following file is displayed in the window on the right. In the box on the right, selectLibthree20.a.
 
 
NextTargetsSelect the compiledProgram, Call upInfoWindow. SelectGeneralTab. Then joinDirect Dependencies,:
 
 
4,SetLinkAndHead search path
 
Open the projectInfoPanel. FindLinkInOther linker flagsOption, add-ObjcAnd-All_load,:
 
 
 set  head search path , find   head search paths  in search path , set the value to  .. /three20/build/products/three20 .  .. / indicates the directory where  three20  is located, for example, in my machine,  three20  is placed in the document. Set the path to /users/wangwei/document/three20/build/products/three20 . In this way, the settings are basically complete. 

If the following error occurs during compilation:File/users/wangwei/documents/three20/src/three20/http://www.cnblogs.com/Build/Products/Debug-iphonesimulator/libThree20.a depends on itself.This target might include its own product.

OpenThreeappsxcodeproj. Click the project nameThree20, CancelLibthree20.a.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.