Weak-linking multiple frameworks for iPhone Apps (-weak_framework)

前端 未结 2 1399

How do I specify -weak_framework for multiple frameworks while compiling iPhone apps for older deployment targets?

相关标签:
2条回答
  • 2020-12-17 06:14

    Add a linker flag -weak_framework <framework_name> Check this link: https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html

    0 讨论(0)
  • 2020-12-17 06:23

    In the Build Phases section of your target, you've got the list of the linked frameworks.

    For each one, you can select Required or Optional, optional meaning weak.

    enter image description here

    0 讨论(0)
提交回复
热议问题