objective-c - iOS 可以在release时不添加某个第三方的framework吗?只debug时添加?不想手动删除。
淡淡烟草味
淡淡烟草味 2017-05-02 09:25:06
0
2
575

iOS 可以在release时不添加某个第三方的framework吗?只debug时添加?不想手动删除。

淡淡烟草味
淡淡烟草味

reply all(2)
習慣沉默

Of course you can, just use multiple Targets.
In this way, you can configure different Linked Frameworks and Libraries for each target. One target is used for testing, and one target is used for packaging or creating release versions.

过去多啦不再A梦

Is there any other way?

if DEBUG

impor XXX

endif

Is it feasible?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template