Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-967

iOS: Arguments to path.join must be strings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 5.2.1
    • Component/s: Core
    • Environment:

      iOS 9.4
      Xcode 7.2
      SDK 5.2.0
      CLI 5.2.0

    • Severity:
      Major
    • Customer Priority:
      Immediate
    • Customer Labels:

      Description

      Issue Description

      This is a regression bug, after update to the 5.2.0 SDK and CLI releases , when building, user get the error "Arguments to path.join must be strings". This goes away using "appc use 5.0.2"

      Here is the full build log:

      appc ti build -f -d BBECMobileEvents --log-level info -p ios -T dist-adhoc -R "Blackbaud, Inc. (4T64559QVN)" -P "9ddbbe8b-b2da-43d0-92b0-27feb44e7bc7" -O $DROP_FOLDER --sdk 5.2.0.GA --installr --installr-release-notes="Nightly Build. Version: $BB_APP_VERSION" 
       
       
      Appcelerator Command-Line Interface, version 5.2.0 
      Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 
       
      [DEBUG] :  Detecting plugins in /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/plugins 
      [DEBUG] :  Detected plugin: ti.alloy @ /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/plugins/ti.alloy 
      [DEBUG] :  Detecting plugins in /Users/administrator/Library/Application Support/Titanium/plugins 
      [DEBUG] :  Detected plugin: com.appcelerator.test @ /Users/administrator/Library/Application Support/Titanium/plugins/com.appcelerator.test 
      [DEBUG] :  Looking for Titanium plugin id=ti.alloy version=1.0 
      [INFO] :   Found Titanium plugin id=ti.alloy version=1.0 
      [DEBUG] :  Deleting all platform build directories 
      [DEBUG] :  Resources directory of /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/app has been emptied 
      Will upload build to installr. 
      Appcelerator Command-Line Interface, version 5.2.0 
      Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 
       
      [WARN] :   tiapp.xml contains an invalid version "0.1.802" 
      [WARN] :   The app version major number must be greater than zero. 
      [WARN] :   tiapp.xml contains an invalid version "0.1.802" 
      [WARN] :   The app version major number must be greater than zero. 
      An uncaught exception was thrown! 
      Arguments to path.join must be strings 
      Arguments to path.join must be strings 
      + ./ios_simulator.sh /private/var/jenkins/workspace/BuildMobileEvents /private/var/jenkins/workspace/BuildMobileEvents/Jenkins/PayService/Simulator 
      WORKSPACE is: /private/var/jenkins/workspace/BuildMobileEvents 
      DROP_FOLDER is: /private/var/jenkins/workspace/BuildMobileEvents/Jenkins/PayService/Simulator 
      cleaning workspace 
      Appcelerator Command-Line Interface, version 5.2.0 
      Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 
       
      [DEBUG] :  Detecting plugins in /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/plugins 
      [DEBUG] :  Detected plugin: ti.alloy @ /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/plugins/ti.alloy 
      [DEBUG] :  Detecting plugins in /Users/administrator/Library/Application Support/Titanium/plugins 
      [DEBUG] :  Detected plugin: com.appcelerator.test @ /Users/administrator/Library/Application Support/Titanium/plugins/com.appcelerator.test 
      [DEBUG] :  Looking for Titanium plugin id=ti.alloy version=1.0 
      [INFO] :   Found Titanium plugin id=ti.alloy version=1.0 
      [DEBUG] :  Deleting all platform build directories 
      [DEBUG] :  Resources directory of /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/app has been emptied 
      Appcelerator Command-Line Interface, version 5.2.0 
      Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 
       
      [WARN] :   tiapp.xml contains an invalid version "0.1.802" 
      [WARN] :   The app version major number must be greater than zero. 
      [WARN] :   tiapp.xml contains an invalid version "0.1.802" 
      [WARN] :   The app version major number must be greater than zero. 
      An uncaught exception was thrown! 
      Arguments to path.join must be strings 
      Arguments to path.join must be strings 
      cp: /private/var/jenkins/workspace/BuildMobileEvents/BBECMobileEvents/build/iphone/build/Products/Debug-iphonesimulator: No such file or directory 
      Build step 'Execute shell' marked build as failure 
      Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                rramirez Ricardo Ramirez
                Reviewer:
                Wilson Luu (Inactive)
              • Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code