Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6344] Hyperloop + Cocoapods crashes app

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2019-09-02T18:04:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelscocoapods, hyperloop
ReporterNathan Martin
AssigneeShak Hossain
Created2019-08-23T14:27:46.000+0000
Updated2019-09-02T18:04:15.000+0000

Description

Also attempted with SDK 8.0.1 + Hyperloop 4.0.2 + 'bare-minimum' project with same result. The app immediately crashes when opening. This is only whenever I include a pod (any pod) in my podifle:
//begin podfile
install! 'cocoapods',
         :integrate_targets => false

platform :ios, '8.0'
use_frameworks!
target 'ONE' do
    pod 'abbi'
end
//end podfile 
Attached is full trace. *Update* I noticed the "Skipping Hyperloop compile, no usage found ..." line in the trace, so I added
var UIView = require('UIKit/UIView');
to alloy.js in order to force the hyperloop compile. I still get the following error:
[ERROR]  2019-08-23 09:59:17.214 xcodebuild[8890:16254372] DTDeviceKit: deviceType from 00008020-001C61940C32002E was NULL
[ERROR]  2019-08-23 09:59:17.256 xcodebuild[8890:16254403] DTDeviceKit: deviceType from 00008020-001C61940C32002E was NULL
[ERROR]  ** BUILD FAILED **
[ERROR]  The following build commands failed:
[ERROR]  	PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/nmartin/Documents/GitHub/MVMobile_V2/build/iphone/build/Intermediates/ONE.build/Debug-iphoneos/ONE.build/Script-000000000000000000000047.sh
[ERROR]  (1 failure)
second full trace attached *Update #2* I reset my ios simulator, which seems to have taken care of the deviceType from was NULL error. However, this error still remains:
ERROR]  ** BUILD FAILED **
[ERROR]  The following build commands failed:
[ERROR]  	PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/nmartin/Documents/GitHub/MVMobile_V2/build/iphone/build/Intermediates/ONE.build/Debug-iphonesimulator/ONE.build/Script-000000000000000000000048.sh
[ERROR]  (1 failure)
Looking at this Script (Script-000000000000000000000048.sh), I see one line: "root/Target Support Files/Pods-ONE/Pods-ONE-resources.sh" In my appcelerator project, however, there is no Pods-ONE-resources.sh file under Target Support Files/Pods-ONE/ Is running pod install and/or pod update supposed to put this file into the project?

Attachments

FileDateSize
fullTrace2019-08-23T14:19:55.000+00002373106
fullTraceForcedHyperloop2019-08-23T15:03:11.000+00003340410
Script-000000000000000000000048.sh2019-08-23T16:19:51.000+000077

Comments

  1. Jan Vennemann 2019-08-27

    This is due to Hyperloop incompatibility with CocoaPods 1.6+. Please also see TIMOB-26991. In the meantime using CocoaPods 1.5.x with Hyperloop serves as a temporary workaround.

JSON Source