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

Hyperloop: iOS - Cannot find classes from Swift frameworks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Hyperloop 3.1.3
    • Fix Version/s: Hyperloop 4.0.1
    • Component/s: Hyperloop, iOS
    • Labels:
      None
    • Sprint:
      2019 Sprint 2

      Description

      Steps to reproduce the behavior

      1. Use the following pod to install MTCircularSlider

        install! 'cocoapods',
                 :integrate_targets => false
         
        use_frameworks!
         
        platform :ios, '10.0'
        target 'Hyperloop_Sample' do
        	pod 'MTCircularSlider'
        end
         
        post_install do |installer|
          installer.pods_project.targets.each do |target|
              if ['MTCircularSlider'].include? target.name
                  target.build_configurations.each do |config|
                      config.build_settings['SWIFT_VERSION'] = '4.2'
                  end
              end
          end
        end
        

      2. Use the slider view with Hyperloop

        const MTCircularSlider = require('MTCircularSlider/MTCircularSlider');
        const slider = new MTCircularSlider();
        

      Actual behavior
      The app throws an error: Cannot find class with name: MTCircularSlider

      Expected behavior
      The app runs without errors.

      Note: MTCircularSlider is not ObjC compatible so any further usage of it is not possible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                jvennemann Jan Vennemann
                Reviewer:
                Vijay Singh
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration