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

IOS: Building module created with sdk < 9.2.0.GA fails

    Details

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

      Description

      Steps to reproduce:

      1. Create an IOS swift module with SDK 9.1.0.GA.
      2. Build the module with SDK 9.2.0.GA.

      Actual result:

      1. The build fails with:

      [TRACE] [xcode-sim] ld: warning: ignoring file /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/9.2.0.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_armv7/TitaniumKit.framework/TitaniumKit, missing required architecture i386 in file /Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/9.2.0.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_armv7/TitaniumKit.framework/TitaniumKit (2 slices)
      [TRACE] [xcode-sim] Undefined symbols for architecture i386:
      [TRACE] [xcode-sim]   "_OBJC_METACLASS_$_TiModule", referenced from:
      [TRACE] [xcode-sim]       _OBJC_METACLASS_$_ComAppTestmodModule in ComAppTestmodModule.o
      [TRACE] [xcode-sim]   "_OBJC_CLASS_$_TiUtils", referenced from:
      [TRACE] [xcode-sim]       objc-class-ref in ComAppTestmodExampleProxy.o
      [TRACE] [xcode-sim]   "_OBJC_CLASS_$_TiApp", referenced from:
      [TRACE] [xcode-sim]       objc-class-ref in ComAppTestmodModule.o
      [TRACE] [xcode-sim]   "_OBJC_CLASS_$_TiModule", referenced from:
      [TRACE] [xcode-sim]       type metadata for ComAppTestmod.ComAppTestmodModule in ComAppTestmodModule.o
      [TRACE] [xcode-sim]   "_OBJC_CLASS_$_TiProxy", referenced from:
      [TRACE] [xcode-sim]       type metadata for ComAppTestmod.ComAppTestmodExampleProxy in ComAppTestmodExampleProxy.o
      [TRACE] [xcode-sim]   "_OBJC_METACLASS_$_TiProxy", referenced from:
      [TRACE] [xcode-sim]       _OBJC_METACLASS_$_ComAppTestmodExampleProxy in ComAppTestmodExampleProxy.o
      [TRACE] [xcode-sim] ld: symbol(s) not found for architecture i386
      [TRACE] [xcode-sim] clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      [ERROR] [xcode-sim] ** ARCHIVE FAILED **
      [ERROR] [xcode-sim] The following build commands failed:
      [ERROR] [xcode-sim] 	Ld /Users/lchoudhary/Library/Developer/Xcode/DerivedData/testmod-awzexlutojiwrcgsjrvqzxeidfou/Build/Intermediates.noindex/ArchiveIntermediates/ComAppTestmod/IntermediateBuildFilesPath/testmod.build/Release-iphonesimulator/ComAppTestmod.build/Objects-normal/x86_64/Binary/ComAppTestmod normal x86_64
      [ERROR] [xcode-sim] 	Ld /Users/lchoudhary/Library/Developer/Xcode/DerivedData/testmod-awzexlutojiwrcgsjrvqzxeidfou/Build/Intermediates.noindex/ArchiveIntermediates/ComAppTestmod/IntermediateBuildFilesPath/testmod.build/Release-iphonesimulator/ComAppTestmod.build/Objects-normal/i386/Binary/ComAppTestmod normal i386
      [ERROR] [xcode-sim] (2 failures)
      

      Expected result:

      1. Module should be built successfully.

        Attachments

          Activity

            People

            • Assignee:
              vijaysingh Vijay Singh
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Christopher Williams
            • 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