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

Hyperloop does not generate code for Flurry & Contentful Pods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Hyperloop 2.1.3
    • Fix Version/s: Hyperloop 2.2.0
    • Component/s: Hyperloop
    • Labels:
      None
    • Environment:

      MacOS 10.12.6 Xcode 9 Studio 4.10.0 SDK 6.2.2 Hyperloop 2.1.3

    • Story Points:
      5
    • Sprint:
      2017 Sprint 21 SDK

      Description

      We've been trying to use 3rd party Pods, Frameworks and Libraries with Hyperloop and we've been running into issues. It seems that when you step up from the trivial Pods like GLCalendar and JBChartView, Hyperloop seems to break down.

      Again, we're using the hyperloop_examples app since that is a known good app that works with Hyperloop.

      The Pods we added were for Flurry and Contentful.

      install! 'cocoapods',
               :integrate_targets => false
       
      platform :ios, '8.0'
      target 'Hyperloop_Sample' do
      	pod 'JBChartView'
      	pod 'GLCalendarView', '~> 1.2'
      	pod 'Shimmer'
      	pod 'Flurry-iOS-SDK/FlurrySDK'
      	pod 'ContentfulDeliveryAPI'
      end
      

      In the case of Contentful, it tries to load these .js files, but they aren't there (see below).

      The same happens when we load the Flurry Pod - except in that case there are no source .m files, just a .a library file and it doesn't seem to recognize any classes at all.

      My colleague also believes that having hyphens in the names may be having an impact in the case of the Flurry SDK.

      In the end, if you try to use these Pods, it can't resolve references to the 'require' because there are no files generated like cdaclient.js

      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient, Resource: hyperloop/contentfuldeliveryapi/cdaclient
      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient.js, Resource: hyperloop/contentfuldeliveryapi/cdaclient_js
      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient.json, Resource: hyperloop/contentfuldeliveryapi/cdaclient_json
      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient/package.json, Resource: hyperloop/contentfuldeliveryapi/cdaclient/package_json
      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient/index.js, Resource: hyperloop/contentfuldeliveryapi/cdaclient/index_js
      [DEBUG] : Loading: /Users/administrator/Library/Developer/CoreSimulator/Devices/96DE9717-0DBE-450D-960D-45FA0ABC90B0/data/Containers/Bundle/Application/F082145F-2193-414F-920E-698FFFEE1DFE/Hyperloop_Sample.app/hyperloop/contentfuldeliveryapi/cdaclient/index.json, Resource: hyperloop/contentfuldeliveryapi/cdaclient/index_json

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                jfalcone Joe Falcone
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code