如何从xrOS目标中移除为iOS平台构建的嵌入式内容?

huangapple go评论62阅读模式
英文:

How to remove embedded content built for iOS platform from xrOS target?

问题

我尝试为visionOS构建我的iOS目标,但出现以下错误:

> 您的目标是为xrOS构建的,但包含为iOS平台构建的嵌入内容(Ploppy Pairs Clip.appex),这是不允许的。

对于Ploppy Pairs.clip也是同样的情况。

从结尾可以看出,这与App Clip和App扩展有关,由于结尾部分,但有人知道如何解决吗?

英文:

I tried to build my iOS target for visionOS and get the following error:

> Your target is built for xrOS but contains embedded content built for
> the iOS platform (Ploppy Pairs Clip.appex), which is not allowed.

and the same for Ploppy Pairs.clip.

I can see from the ending that this somehow belongs to the App Clip and App extension due to the endings, but does anyone know how to fix this?

答案1

得分: 2

我发现您需要取消选择 iOS目标 -> 常规 -> 框架、库和嵌入式内容 -> 过滤器 -> 始终使用的旁边的图标 下的 visionOS。默认情况下,选择了 允许任何平台,您只需取消选择 visionOS。

或者,您也可以选择 iOS 目标 -> 构建阶段 -> 嵌入应用扩展 / 嵌入应用剪辑 -> 过滤器。

英文:

I found out that you have to deselect visionOS under your iOS target -> General -> Frameworks, Libraries, and Embedded Content -> Filters -> The icon next to Always Used. By default, there is Allow any platform selected, and there you just have to deselect visionOS.

如何从xrOS目标中移除为iOS平台构建的嵌入式内容?

Or you can also select the iOS target -> Build Phases -> Embed App Extensions / Embed App Clips -> Filters.

如何从xrOS目标中移除为iOS平台构建的嵌入式内容?

huangapple
  • 本文由 发表于 2023年6月22日 17:53:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/76530659.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定