search

Home  >  Q&A  >  body text

objective-c - Can iOS be released without adding a third-party framework? Only added when debugging? Don't want to delete manually.

Can iOS be released without adding a third-party framework? Only added when debugging? Don't want to delete manually.

淡淡烟草味淡淡烟草味2881 days ago653

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-02 09:27:06

    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.

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:27:06

    Is there any other way?

    if DEBUG

    impor XXX

    endif

    Is it feasible?

    reply
    0
  • Cancelreply