简体   繁体   English

发布没有“今天”扩展程序的应用程序?

[英]Releasing app without Today extension?

I got a Today extension half done in my project. 我在项目中完成了Today扩展的一半。 I don't have to release a half done product to public but also want to keep the same codebase so I can save time on code maintenance. 我不必向公众发布半成品,但也想保留相同的代码库,这样可以节省代码维护时间。

Does anyone know a way to release the app without the Today extension built-it? 没有人知道没有内置“今日”扩展程序的发布应用程序的方法吗?

Thanks 谢谢

In the application target settings, 在应用程序目标设置中,

  • Remove the today extension from the "target dependencies" list. 从“目标依赖项”列表中删除“今天”扩展名。
  • Remove the today extension from the "embed app extensions" list. 从“嵌入式应用程序扩展”列表中删除今天的扩展。

Then clean and build. 然后清理并构建。 You'll get a build of the app with no today extension. 您将获得不带今天扩展名的应用程序构建。

When you want to go back to working on the today extension, reverse the two steps above. 如果您想重新使用今天的扩展程序,请反转上述两个步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM