MLeaksFinder
MLeaksFinder copied to clipboard
CocoaPods 更新至 1.1.0
s.version = "1.0.0"
需要升级至 1.1.0
在 commit
记录 https://github.com/Tencent/MLeaksFinder/commit/095c7528f61d79a0be791b6eacc6ba1b4acec12a 中看到了 1.1 版本的更新中有这么一段:
WARNING: FBRetainCycleDetector is removed from the podspec due to Facebook's BSD-plus-Patents license. If you want to use FBRetainCycleDetector to find retain cycle, add pod 'FBRetainCycleDetector'
to your project's Podfile and turn the macro MEMORY_LEAKS_FINDER_RETAIN_CYCLE_ENABLED
on in MLeaksFinder.h
.
感觉 1.1 版本的使用变复杂了..
在网上找到了关于 BSD 3-clause
协议的说明:
使用BSD协议,需要遵守以下规则(2-Clause则不带第3条): 1.如果再发布的产品中包含源代码,则在源代码中必须带有原来代码中的BSD协议; 2.如果再发布的只是二进制类库/软件,则需要在类库/软件的文档那个和版权声明中包含原来代码中的BSD协议; 3.不可以用开源代码的“作者/机构的名字”或“原来产品的名字”做市场推广。
跟 BSD 协议没关系,主要是 fb 的附加条款,apache基金会已经禁用 fb 的开源软件了,可去了解下。
@Zepo 查了一下, 感觉 FB 好不厚道.. 既然如此, 我还是停留在 1.0 版本吧