Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18574

iOS: Unable to build to iOS sim or device (on Node 0.12)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.0.0
    • Component/s: iOS, LiveView
    • Labels:
    • Environment:

      Mac OSX 10.10.2
      Appcelerator Studio, build: 4.0.0.201502051633
      Titanium SDK build: 4.0.0.v20150213141635
      Titanium CLI, build: 3.6.0-dev
      Alloy: 1.6.0-alpha
      Xcode 6.1.1
      Node v0.12.0

      Description

      Description

      When attempting to build for iOS the SDK throws a longjohn error shown below.

      [TRACE] :  ** BUILD SUCCEEDED **
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
              throw e;
                    ^
      Socket.socketErrorListener (_http_client.js:269:42),Socket.emit (events.js:107:17),net.js:451:14,process._tickCallback (node.js:355:11)
      
      

      To work around the above error
      Remove liveview from your config.json file manually, using the liveview rm clihook may not fix the issue. This can be found at Users -> <UserName> -> .titanium. In the hooks section remove:

      "/Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1414188893/node_modules/liveview/hook"
      

      If I change the SDK in the tiapp.xml to a previous SDK that worked then the build fails instantly with the error below

      dyld: lazy symbol binding failed: Symbol not found: __ZN2v86Object3SetENS_6HandleINS_5ValueEEES3_NS_17PropertyAttributeE
        Referenced from: /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212164157/node_modules/ioslib/node_modules/node-ios-device/out/node_ios_device_v14.node
        Expected in: dynamic lookup
       
      dyld: Symbol not found: __ZN2v86Object3SetENS_6HandleINS_5ValueEEES3_NS_17PropertyAttributeE
        Referenced from: /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.v20150212164157/node_modules/ioslib/node_modules/node-ios-device/out/node_ios_device_v14.node
        Expected in: dynamic lookup
       
      Trace/BPT trap: 5
      

      Steps To Reproduce

      1. Download the latest SDK ti sdk install -b master -d
      2. Attempt to build to an iOS device or sim

      Actual Result

      The build will fail and throw a longjohn error

      Expected Result

      The build should not fail

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                eharris Ewan Harris
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19723
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code