注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

姑射道人的博客

博客新地址:nixuchen.com

 
 
 

日志

 
 

导入第三方库  

2012-06-05 18:08:25|  分类: iOS开发 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

? Clone the TapkuLibrary git repository: git clone git://github.com/devinross/tapkulibrary.git. Make sure you store the repository in a permanent place because Xcode will need to reference the files every time you compile your project.

? Locate the src/TapkuLibrary.xcodeproj and src/TapkuLibrary.bundle and add these to your XCode project (Figure 1). (use ‘Add files to project’ from ‘File’ menu instead of dragging and dropping, to prevent crash when adding target dependency in next step. c.f. Xcode 4 bug)

image

Figure 1

? Select your main Xcode project from the sidebar in Xcode and then select the project target. Select the Build Phases tab. Under the Target Dependencies group, click the plus button, select TapkuLibrary from the menu, and choose Add. (Figure 2)

? Under the Link Binary With Libraries group, click the plus button, select libTapkuLibrary.a from the menu, and choose Add. Also add MapKit and QuartzCore. (Figure 2)

image

Figure 2

? Choose the Build Settings tab. Make sure All in the top left of the bar under the tabs. Add the path to the src folder to Header Search Path (do not click the Recursive checkbox). Add -all_load -ObjC to Other Linker Flags.

  评论这张
 
阅读(638)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017