xcode提交构建版本_使用xcode中的聚合目标构建xcframework

xcode提交构建版本

If you’re already familiar with how to build xcframworks using command line tools, then this article is how you take that to the next level.

如果您已经熟悉如何使用命令行工具来构建xcframworks,那么本文就是将其带入更高层次的方法。

If you haven’t built or don’t know how to build xcframeworks, I’ve already explained that in details in my previous article here.

如果您还没有建立或不知道如何建立xcframeworks,我已经解释说,在细节我以前的文章在这里

汇总目标 (Aggregated Targets)

Aggregated Targets is used when we need to build multiple targets together somehow.

当我们需要以某种方式一起构建多个目标时,将使用聚合目标。

We will start by our example FruitBasket from the previous article and you can download it from this git repo, here is a preview of the code we have in there.

我们将从上一篇文章的示例FruitBasket开始,您可以从git repo下载它,这是其中包含的代码的预览。

Open up xcode and start by adding new target to you project from this little + icon at the bottom.

打开xcode,然后从底部的小图标开始向项目添加新目标。

Image for post

Choose Cross platform and then Aggregate.

选择“ 跨平台” ,然后选择“ 聚合”

Image for post

Choose the name you want, In my case I’ll name it AggregatedFramework

选择您想要的名称,在我的情况下,我将其命名为AggregatedFramework

Image for post

Change the scheme to AggregatedFramework Scheme.

将方案更改为AggregatedFramework Scheme。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值