skip to Main Content

I am getting an error while building the titanium app for 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)

I tried searching it on the forum but did not resolve it yet.
I am using SDK version 9.3.2.GA and xcode 12

2

Answers


  1. Trying building with XCode 11.7 instead.

    Login or Signup to reply.
  2. The ti.intercom.xcframework is a static library which has been compiled as an xcframework. Within the framework’s directory you’ll find the directories for the different platforms the module has been compiled for. Each of these folders is missing the Headers folder (probably lost within git commits), as the Headers directories are empty. Just create empty ‘Headers` directories within each platform tree, and add a .gitkeep file to ensure the changes propagate through git.
    ti.intercom.xcframework

    • ios-arm64
      • Headers (missing, create an empty one)
      • libti.intercom.a
    • ios-x86_64-simulator
      • Headers (missing, create an empty one)
      • libti.intercom.a
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search