使用与tuist共享框架
我将现有的XCode现有项目迁移到使用Tuist。该应用程序具有主应用程序,观看应用程序和通知扩展名。每个项目之间都有大量共享代码。
如何使用TUIST在iOS和WatchOS代码之间共享框架?
I am migrating an existing project in Xcode to using Tuist. The application has a main app, Watch App, and a notification extension. There is loads of shared code between each project.
How can I use Tuist to share a framework between the iOS and watchOS code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为我有一个解决方案,可以在WatchOS和iOS之间共享代码。第一步是需要为每个平台生成一个框架。为了使框架整合到较大的应用程序中,我做了以下内容:
例子:
I think I have a solution for sharing code between watchOS and iOS. The first step is that a framework needs to be generated for each platform. To make the frameworks integrate into the larger application better I did the follow:
Example: