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

Xcode 12: Incremental builds not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 9.2.0
    • Fix Version/s: Release 9.2.0
    • Component/s: iOS
    • Labels:
      None
    • Sprint:
      2020 Sprint 19

      Description

      There is an issue with incremental builds on Xcode 12 / iOS 14:

      [TRACE] /myproject/build/iphone/Classes/TiUtils+Addons.swift:10:8: error: no such module 'TitaniumKit'
      [TRACE] import TitaniumKit
      [TRACE]        ^
      [...]
      [ERROR] ** BUILD FAILED **
      [ERROR] The following build commands failed:
      [ERROR]         CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
      [ERROR]         CompileSwift normal x86_64 /myproject/build/iphone/Classes/TiUtils+Addons.swift
      [ERROR] (2 failures)
      

      It seems like the new Swift support with TiUtils+Addons.swift (TIMOB-28062) causes the issue. It may also affect iOS 13 / Xcode 11.x, but I haven't tested that, yet.

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Chris Barber
              Tester:
              Samir Mohammed
            • Watchers:
              4 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