英文:
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.
Or you can also select the iOS target -> Build Phases -> Embed App Extensions / Embed App Clips -> Filters.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论