[TIMOB-20297] Hyperloop: Couldn't find iOS CocoaPods third-party-modules with "-"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-05T19:39:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Hyperloop 2.0.1 |
Components | Hyperloop, iOS |
Labels | Hyperloop, appcelerator, ios, qe-hyperloop |
Reporter | Brian García |
Assignee | Jan Vennemann |
Created | 2016-02-01T08:28:32.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
build_iphone.log | 2016-02-01T08:25:21.000+0000 | 5095031 |
Captura de pantalla 2016-02-01 a las 9.07.05.png | 2016-02-01T08:25:01.000+0000 | 97733 |
Podfile | 2016-02-01T08:25:40.000+0000 | 407 |
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?
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]
Thank you [~bgarcia]! Some troubleshooting: - The dash (
-
) inOpenWebRTC-SDK
could make problems during the metabase generation - How doesOpenWebRTC
depend onOpenWebRTC-SDK
? - Although it shouldn't make any difference, the indentation of your Podfile is different for theOpenWebRTC-SDK
pod Next, I will try to reproduce the issue which shouldn't be too hard with the Podfile provided. Thanks again!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!
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.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 aPodfile
at the project root and add a pod with a hyphen in it, e.g.pod 'Mantle-HAL'
. 3. Add a require toResources/app.js
where you use that pod:var MTLHALResource = require('Mantle-HAL/MTLHALResource');
4. Run the app withappc run -p ios -I 10
Expected result: Build succeeds and the app starts without any errorVerified 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.*