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

iOS: Compiled CommonJS modules failing link

    Details

      Description

      It looks like commonjs module compiles for iOS are currently failing because the `filterData` function is not being properly exported as part of libtiverify.

      Relevant build log error, for device:

      Undefined symbols for architecture armv7:
        "__Z10filterDataP8NSStringS0_", referenced from:
            -[ModuleTestModuleAssets moduleAsset] in libmodule.test.a(ModuleTestModuleAssets.o)
      ld: symbol(s) not found for architecture armv7
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      Note that the device builds (armv6, armv7) indicate C++ name mangling; builds for i386 do not.

      TESTING:


      Follow the steps in the Building Native JS Modules guide. Expected behavior is for the module to compile and run correctly.

        Attachments

          Activity

            People

            • Assignee:
              stephentramer Stephen Tramer
              Reporter:
              stephentramer Stephen Tramer
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13307
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code