Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28511

iOS: Build fails if module is missing Headers folder in xcframework


    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:


      Hi guys!
      We've been using Hans Knochel Firebase modules for both iOS and Android for a while now, working smooth. However, after SDK 9.3.1 bump (CLI version 5.3.0) we ran into a bug trying to use latest module releases.
      Ti (or Xcode) needs the Header folders inside .xcframework to be present in order to successfully build the app.

      It works fine if you download the zip locally and build, however, when pushing to github, where empty folders are not tracked, and then checking out, builds fail due to these non-present empty header folders.

      It happened with firebase.core 5.0.0, firebase.analytics 4.0.0 and firebase.cloudmessaging 5.0.0
      I'm pretty sure it will happen to other modules as well.

      Steps to reproduce

      1. Download https://github.com/hansemannn/titanium-firebase-cloud-messaging/releases/tag/ios-6.0.0 and add it to your app
      2. Remove the Headers directories underneath modules/firebase.cloudmessaging/6.0.0/firebase.cloudmessaging.xcframework/<arch>
      3. Build the application


      Build errors


      No error




            • Assignee:
              eharris Ewan Harris
              perdona Caio Perdona
            • Watchers:
              6 Start watching this issue


              • Created:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration