Weak-linking multiple frameworks for iPhone Apps (-weak_framework)
-
28-10-2019 - |
Question
How do I specify -weak_framework for multiple frameworks while compiling iPhone apps for older deployment targets?
Solution
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.
OTHER TIPS
Add a linker flag -weak_framework <
framework_name> Check this link: https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow