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

iOS: Packaging fails when Xcode path contains a space

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 9.0.3, Release 9.1.0, Release 9.2.1
    • Fix Version/s: Release 9.3.0, Release 9.2.2
    • Component/s: CLI, iOS
    • Labels:
      None
    • Sprint:
      2020 Sprint 22

      Description

      Description

      When packaging an iOS app if the Xcode path contains a space then the exportArchive process will fail. The exportArchive process is used when performing any dist-adhoc build or a dist-appstore build with a --output-dir argument

      Steps to reproduce

      1. Change your Xcode path to contain a space and update the xcode-select path
      2. Package for dist-adhoc or dist-appstore with a --output-dir argument

      Actual

      Error like below

      [DEBUG] Running: /Applications/Xcode beta.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/iphone/ticreateapp.xcarchive" -exportPath "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/dist" -exportOptionsPlist "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/iphone/export_options.plist"
      [TRACE] /bin/sh: /Applications/Xcode: No such file or directory
      [ERROR] Failed to export archive to ipa
      

      Expected

      No error, package shoudl work just fine

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eharris Ewan Harris
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Christopher Williams
                Tester:
                Satyam Sekhri
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration