[TIMOB-25829] Hyperloop: iOS - CocoaPods 1.4.0 breaks metabase generation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-03-06T19:31:59.000+0000 |
Affected Version/s | Hyperloop 2.2.3, Hyperloop 3.0.1 |
Fix Version/s | Release 7.1.0, Hyperloop 3.0.3 |
Components | Hyperloop, iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2018-03-01T21:56:45.000+0000 |
Updated | 2018-08-06T17:49:23.000+0000 |
Description
There are [reports](https://github.com/appcelerator/hyperloop-examples/issues/75) that Hyperloop does not work with CocoaPods 1.4.0. We should investigate it and add support for the new version.
[CocoaPods 1.4.0 Change Log](http://blog.cocoapods.org/CocoaPods-1.4.0/)
Ok, so it seems like they changed the
$PODS_CONFIGURATION_BUILD_DIR
statement to${PODS_CONFIGURATION_BUILD_DIR}
which then falls through our detection engine. I'll add a fix that uses the old one for CP < 1.4.0 and the new one for 1.4.0+. Workarounds:Downgrade to CocoaPods until Hyperloop 3.0.3 is released:
Patch your local Hyperloop 3.0.2 version (in
Replace:<project>/modules/iphone/hyperloop/3.0.2/hooks/node_modules/hyperloop-metabase/lib/metabase.js
, line 722:with
PR (master): https://github.com/appcelerator/hyperloop.next/pull/274 PR (3_0_X): https://github.com/appcelerator/hyperloop.next/pull/275 Testing instructions: * Install CocoaPods 1.4.0 (
sudo gem install cocoapods
) * Run the [hyperloop-examples](https://github.com/appcelerator/hyperloop-examples) app * See that the app does not work due to missing generated stubs * Apply the fix * Re-test with CocoaPods 1.4.0 * Ensure that it works again * Downgrade to CocoaPods 1.3.1 (sudo gem uninstall cocoapods -v 1.4.0
,sudo gem install cocoapods -v 1.3.1
) * Ensure that it still works3.0.3 module: [Download here](https://github.com/appcelerator-modules/hyperloop-builds/releases/tag/v3.0.3-beta.1)
titanium_mobile/master: https://github.com/appcelerator/titanium_mobile/pull/9911 titanium_mobile/7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9912
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.