iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
yellowV2ex
V2EX  ›  iDev

如果为多个Targets增加 "Link Binary With Libraries" 的 framework?

  •  
  •   yellowV2ex · Dec 2, 2013 · 4377 views
    This topic created in 4693 days ago, the information mentioned may be changed or developed.
    一个项目, 大概有十几个类似的Target, 因为持续开发, 增加工具类的时候需要加不同的framework

    每次加多一个比如 Security.framework, 就要每个Target都去加一次, 可有什么简便的方法保持多个Target的 "Link Binary With Libraries" 同步?

    以及 Build Phases 里的 Compile Sources 加 -fno-objc-arc 什么的
    1 replies  •  1970-01-01 08:00:00 +08:00
    wtl
        1
    wtl  
       Dec 7, 2013
    使用xcconfig 可以建个Base.xcconfig 每个target的xcconfig都继承于它 相同的设置都写在Base里

    这儿是篇教程 http://happygiraffe.net/blog/2010/04/30/xcode-build-settings/
    这儿是所有的设置 https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/0-Introduction/introduction.html#//apple_ref/doc/uid/TP40003931-CH1-SW1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1266 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:48 · PVG 07:48 · LAX 16:48 · JFK 19:48
    ♥ Do have faith in what you're doing.