[TIMOB-25401] Hyperloop does not generate code for Flurry & Contentful Pods
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-10-18T19:46:16.000+0000 |
Affected Version/s | Hyperloop 2.1.3 |
Fix Version/s | Hyperloop 2.2.0 |
Components | Hyperloop |
Labels | n/a |
Reporter | Joe Falcone |
Assignee | Jan Vennemann |
Created | 2017-10-16T19:20:13.000+0000 |
Updated | 2017-10-19T22:53:53.000+0000 |
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
File | Date | Size |
---|---|---|
log3.txt | 2017-10-16T19:15:05.000+0000 | 1676806 |
Have also tested this against the Parse Pod with the same results - no code generated. Should also point out that this is a Clean install on new out-of-the-box machine so there isn't any leftover code. Just the very latest Studio and SDKs.
This is very likely resolved by the major improvements in Hyperloop 2.2.0, can you confirm [~jvennemann]? [~jfalcone] I'll get in touch with you to try it out before the GA :-).
Usage of the Contentful SDK Pod is resolved with Hyperloop 2.2.0. The hyphen issue unfortunately didn't make the cut for the upcoming release so i opened TIMOB-25413 to track the progress there.
Closing as the ContentfulDeliveryAPI issues are resolved by TIMOB-25393 and TIMOB-25402 and the hyphen issue will be addressed in Hyperloop 2.3.0 (TIMOB-25413)