美文网首页
Xcode中Link Binary With Libraries

Xcode中Link Binary With Libraries

作者: 小米粥ii | 来源:发表于2016-12-06 13:54 被阅读640次

    Xcode中Link Binary With Libraries Status Required or Optional

    Libraries and frameworks are designated as Required by default, but you can change this designation to Optional. Required libraries must be present on the host computer for the product to load. Optional libraries do not have to be present for the product to load. A Required framework will always be loaded into memory, but an Optional framework will be loaded only if needed. The initial load of the application will be faster if a large library that is never needed is designated as Optional.

    内容:在指定设备上根据系统版本选择加载framework 状态,否则会出现崩溃.常见 <NotficationCenter.framework>需要 Optional,否则会在低版本系统ios7下崩溃.

    相关文章

      网友评论

          本文标题:Xcode中Link Binary With Libraries

          本文链接:https://www.haomeiwen.com/subject/gwkrmttx.html