美文网首页
iOS other linker flags

iOS other linker flags

作者: 某个胖子 | 来源:发表于2016-03-07 17:08 被阅读739次
    • 值:-objC,-all_load,-force_load

    • -all_load : 在iOS 中,使用-all_load时,如果静态库中有类别时会出问题,使用其他两个值则不会有问题。

    • -all_load: forces the linker to load all object files from every archive it sees, even those without Objective-C code.

    • -force_load: is available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each -force_load option must be followed by a path to an archive, and every object file in that archive will be loaded.

    相关文章

      网友评论

          本文标题:iOS other linker flags

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