Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20297] Hyperloop: Couldn't find iOS CocoaPods third-party-modules with "-"

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-01-05T19:39:36.000+0000
Affected Version/sn/a
Fix Version/sHyperloop 2.0.1
ComponentsHyperloop, iOS
LabelsHyperloop, appcelerator, ios, qe-hyperloop
ReporterBrian García
AssigneeJan Vennemann
Created2016-02-01T08:28:32.000+0000
Updated2017-01-06T17:28:25.000+0000

Description

Coming from here: http://stackoverflow.com/questions/35038739/loading-openwebrtc-sdk-in-appcelerator-hyperloop-through-cocoa-pods/35084788#35084788 github from framework causing issues: https://github.com/EricssonResearch/openwebrtc-ios-sdk In attachments you can find my Podfile,the build log and also a screenshot from my Pod directory.

Attachments

FileDateSize
build_iphone.log2016-02-01T08:25:21.000+00005095031
Captura de pantalla 2016-02-01 a las 9.07.05.png2016-02-01T08:25:01.000+000097733
Podfile2016-02-01T08:25:40.000+0000407

Comments

  1. Hans Knöchel 2016-02-01

    Thanks for opening the issue, I moved it to TIMOB with Hyperloop prefix. Your build.log does not contain the actual crash, can you please update the file?
  2. Brian García 2016-02-01

    Here is the crash log. [https://gist.github.com/anonymous/949e991c7aaac9135b14] And here the build log with crash [https://gist.githubusercontent.com/anonymous/0e25e88ce5639d0ff091/raw/e7c96be25e8cafed43a1c94768cfff1f7c0a1d59/build_iphone.log]
  3. Hans Knöchel 2016-03-04

    Thank you [~bgarcia]! Some troubleshooting: - The dash (-) in OpenWebRTC-SDK could make problems during the metabase generation - How does OpenWebRTC depend on OpenWebRTC-SDK? - Although it shouldn't make any difference, the indentation of your Podfile is different for the OpenWebRTC-SDK pod Next, I will try to reproduce the issue which shouldn't be too hard with the Podfile provided. Thanks again!
  4. Brian García 2016-03-04

    Hi Hans, - OpenWebRTC-SDK has all the helper methods that OpenWebRTC needs. Here you can find the example I was trying to reproduce:[example](https://github.com/EricssonResearch/openwebrtc-examples/tree/master/ios/NativeDemo) [SDK](https://github.com/EricssonResearch/openwebrtc-ios-sdk) - I tried almost everything with indentation and typo. Thanks!
  5. Hans Knöchel 2016-10-17

    Since the above server of the library is down, we refer to https://github.com/dogo/SCLAlertView that has the same problem (pod name: https://github.com/dogo/SCLAlertView). Jan mentioned that the current file-regix ([here](https://github.com/appcelerator/hyperloop.next/blob/9b67b97fba540ea8ac7bfc49f8411a8f5514c1fe/iphone/plugin/hyperloop.js#L377)) can't handle the dashes, so he will update the regex to detect dashes as well.
  6. Jan Vennemann 2016-10-17

    PR (master): https://github.com/appcelerator/hyperloop.next/pull/94 PR (2_0_X): https://github.com/appcelerator/hyperloop.next/pull/95 I couldn't use SCLAlertView due to a block issue when Hyperloop created the metabase. To be investigated in TIMOB-24044. Steps to test: 1. Create a new empty project with appc new -t app --classic 2. Create a Podfile at the project root and add a pod with a hyphen in it, e.g. pod 'Mantle-HAL'. 3. Add a require to Resources/app.js where you use that pod: var MTLHALResource = require('Mantle-HAL/MTLHALResource'); 4. Run the app with appc run -p ios -I 10 Expected result: Build succeeds and the app starts without any error
  7. Josh Longton 2017-01-06

    Verified as fixed, CocoaPods modules containing - can now be found. Tested on: {noformat} macOS Sierra 10.12.2 iPhone 6 iOS simulator (10.2, 10.0) Ti SDK: 6.1.0.v20170104172642 Hyperloop: 2.0.1 Appc CLI: 6.1.0 Appc NPM: 4.2.8 Node v4.6.0 {noformat} *Closing Ticket.*

JSON Source