Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试构建一个绑定项目,该项目应该可以选择链接 ios 6.0 框架库(AdSupport、Social、Accounts)。
有没有办法将这些库标记为可选链接LinkWithAttribute?
LinkWithAttribute
只需在属性中使用WeakFrameworks, 而不是 , 。例如Frameworks[LinkWith]
WeakFrameworks
Frameworks
[LinkWith]
[LinkWith (..., Frameworks="Foundation", WeakFrameworks="AdSupport, Social, Accounts")]