Search code examples
iostoday-extension

How to make today extension disable?


My app want to release,but my today extension didn't finish,so I want to make today widget disable and I want to recover it later then continue to develop it,who knows it?Thanks for your answer.


Solution

  • If you want to desable this extension, do the following steps

    1. Go to your project Settings
    2. Select the target that you want to disable the extension
    3. Go to Build Phases tab
    4. Open Target Dependencies
    5. Remove the extension (just the one that you don't whant)

    also after this do:

    If you want to keep the sourcecode and only remove the today widget:

    1. Go to your project Settings
    2. Select the target that you want to disable the extension
    3. Select General -> Embedded binaries
    4. remove the TodayWidgetName.appex file with the minus button

    after all this do a clean (cmd + shift + k)