Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27824] Hyperloop: iOS - build fails after updating XCode to 11.4

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-04-15T20:53:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.1, Hyperloop 5.0.3
ComponentsHyperloop
Labelsn/a
ReporterJorge Macias Garcia
AssigneeJan Vennemann
Created2020-03-25T16:51:48.000+0000
Updated2020-04-15T20:53:25.000+0000

Description

XCode has been automatically updated to 11.4 and now I can't build for iOS (8.3.1 SDK) I got a weird message when build without liveview after tried building with liveview enabled. Tried with 8.1.3 & 9.0.0 SDK and Hyperloop different versions
{ encoding: '?',
  name: 'position',
  type: 'unknown type: 176',
  value: 'float __attribute__((ext_vector_type(3)))' }
[LiveView] Error: cannot figure out objc return result
    at Object.getObjCReturnResult (/Users/jormagar/Library/Application Support/Titanium/modules/iphone/hyperloop/4.0.4/hooks/generate/util.js:597:8)
{ encoding: '?',
  name: 'position',
  type: 'unknown type: 176',
  value: 'float __attribute__((ext_vector_type(3)))' }
[LiveView] Error: cannot figure out objc return result
    at Object.getObjCReturnResult (/Users/jormagar/Library/Application Support/Titanium/modules/iphone/hyperloop/5.0.1/hooks/generate/util.js:597:8

Comments

  1. Ewan Harris 2020-03-25

    [~jormagar] are you seeing this both with and without liveview? The liveview error is probably a red herring due to TIMOB-26870 cc [~jvennemann] I'm guessing something has changed in xcode that broke hyperloop
  2. Jorge Macias Garcia 2020-03-25

    @eharris if I build with liveview enabled it fails and consecutive builds fails to with same error if I build without liveview. What can I try in this scenario?
  3. Jan Vennemann 2020-03-26

    Looks like the metadata parser can't figure out the type from something new in the bundled iOS 13.4 SDK. I'll take a look first thing in the morning.
  4. Jan Vennemann 2020-03-27

    PR: https://github.com/appcelerator/hyperloop.next/pull/337
  5. Caio Perdona 2020-03-30

    Same here. Took me 2 days to work this around on my environment, since I'm trapped in SDK 8.2.1.GA due to some incompatible modules with SDK 9. Managed to get it working by uninstalling and cleaning all xcode/node/appc related content, then reinstalling xcode 11.3, node@12, cli 8.0.0. Also, hyperloop must be 4.0.2 or lower.
  6. Jan Vennemann 2020-03-31

    [~perdona], it should be enough to replace your Xcode install with 11.3. Here are the steps i did to get my environment running again:

    Move Xcode 11.4 out of the Applications folder somewhere else, e.g. sudo mv /Applications/Xcode.app ~/xcode-versions/Xcode_11.4.app. I keep multiple Xcode versions around in that folder so i can easily switch between them.

    Install/restore Xcode 11.3 into /Applications, open it at least once and make sure the command line tools are correctly set. See Preferences > Locations > Command Line Tools.

    That way I was able to build again with Xcode 11.3 / SDK 8.3.1.GA / Hyperloop 4.0.4
  7. Lokesh Choudhary 2020-04-03

    FR Passed. PR Merged.
  8. Lokesh Choudhary 2020-04-08

    Verified the fix with hyperloop 5.0.2. Closing.
  9. Christopher Williams 2020-04-09

    Need to incorporate into SDK by updating modules.json to point at hyperloop 5.0.3. Here's the release page: https://github.com/appcelerator-modules/hyperloop-builds/releases/tag/v5.0.3
  10. Jan Vennemann 2020-04-09

    PRs to update Hyperloop in the SDK: PR (master): https://github.com/appcelerator/titanium_mobile/pull/11611 PR (9_0_X): https://github.com/appcelerator/titanium_mobile/pull/11612
  11. Samir Mohammed 2020-04-15

    FR Passed for Master and 9_0_X, waiting on Jenkins build.
  12. Christopher Williams 2020-04-15

    merged to master and 9_0_X
  13. Lokesh Choudhary 2020-04-15

    Verified the fix with SDK 9.0.1.v20200415071927. Closing.

JSON Source