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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 10.1.0
    • Component/s: iOS
    • Environment:
    • Story Points:
      5

      Description

      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

      Actual

      Build errors

      Expected

      No error

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              perdona Caio Perdona
              Reviewer:
              Gary Mathews
            • Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration