Titanium ios 构建错误:文件夹“Headers”不存在

问题描述 投票:0回答:2

我在为 ios 构建钛应用程序时遇到错误

[TRACE] error: The folder “Headers” doesn’t exist. (in target 'Test' from project 
'Test')
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR]         ProcessXCFramework /Users/myuser/Projects/v2-mobile- 
app/modules/iphone/ti.intercom/1.0.0/ti.intercom.xcframework
[ERROR] (1 failure)

我尝试在论坛上搜索但尚未解决。
我正在使用 SDK 版本

9.3.2.GA
和 xcode 12

ios xcode appcelerator titanium-sdk
2个回答
4
投票

ti.intercom.xcframework 是一个静态库,已编译为 xcframework。在框架的目录中,您将找到模块编译所针对的不同平台的目录。这些文件夹中的每一个都缺少 Headers 文件夹(可能在 git 提交中丢失),因为 Headers 目录为空。只需在每个平台树中创建空的“Headers”目录,并添加一个 .gitkeep 文件以确保更改通过 git 传播。 ti.intercom.xcframework

  • ios-arm64
    • 标题(缺少,创建一个空的)
    • libti.intercom.a
  • ios-x86_64-模拟器
    • 标题(缺少,创建一个空的)
    • libti.intercom.a

-1
投票

尝试使用 XCode 11.7 进行构建。

© www.soinside.com 2019 - 2024. All rights reserved.