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

iOS: Unable to run dist-appstore builds when project on external drive using CLI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Description

      If the project is on an external drive such as /Volumes/E1 where E1 is an external SSD then all works OK except for attempting an dist-appstore release. The following error is thrown:

      [INFO] Archiving debug symbols: /Volumes/E1/Development/SA/Test/build/iphone/build/Products/Release-watchos/Testw WatchKit Extension.appex.dSYM
      Error: EXDEV: cross-device link not permitted, rename '/Volumes/E1/Development/SA/Test/build/iphone/staging.xcarchive' -> '/Users/master/Library/Developer/Xcode/Archives/2017-02-14/Testw 2017-02-14 07-48-50.xcarchive'
      at Error (native)
      at Object.fs.renameSync (fs.js:681:18)
      at cli.on.post (/Users/master/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/iphone/cli/hooks/package.js:123:9)
      at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13
      at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13)
      at nextTickCallbackWith0Args (node.js:436:9)
      at process._tickCallback (node.js:365:13)
      ---------------------------------------------
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37
      at /usr/local/lib/node_modules/titanium/lib/hook.js:239:9
      at cli.addHook.post (/Users/master/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/iphone/cli/hooks/install.js:22:45)
      at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13
      at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13
      at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13)

      This can be resolved by moving the project to the User home dir ( /Users/master in this case)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                magnatronus Steve Rogers
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration