{ "id": "166011", "key": "TIMOB-24405", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-03-01T16:28:11.000+0000", "created": "2017-02-14T08:35:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "54490", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "165700", "key": "TIMOB-24362", "fields": { "summary": "iOS: Unable to package for Ad Hoc with Xcode 8.3 Beta", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-24T18:35:59.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "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:\r\n\r\n[INFO] Archiving debug symbols: /Volumes/E1/Development/SA/Test/build/iphone/build/Products/Release-watchos/Testw WatchKit Extension.appex.dSYM\r\nError: 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'\r\n at Error (native)\r\n at Object.fs.renameSync (fs.js:681:18)\r\n at cli.on.post (/Users/master/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/iphone/cli/hooks/package.js:123:9)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13)\r\n at nextTickCallbackWith0Args (node.js:436:9)\r\n at process._tickCallback (node.js:365:13)\r\n---------------------------------------------\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:275:35\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:44:16\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:694:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:173:37\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:239:9\r\n at cli.addHook.post (/Users/master/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/iphone/cli/hooks/install.js:22:45)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:689:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:265:13)\r\n\r\nThis can be resolved by moving the project to the User home dir ( /Users/master in this case) ", "attachment": [], "flagged": false, "summary": "iOS: Unable to run dist-appstore builds when project on external drive using CLI", "creator": { "name": "magnatronus", "key": "magnatronus", "displayName": "Steve Rogers", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "magnatronus", "key": "magnatronus", "displayName": "Steve Rogers", "active": true, "timeZone": "Europe/London" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.12.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 4.6.2\r\n npm Version = 2.15.11\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.9\r\n\r\nTitanium SDK\r\n SDK Version = 6.0.1.GA\r\n SDK Path = /Users/master/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA\r\n Target Platform = iphone\r\n\r\n", "comment": { "comments": [ { "id": "408113", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Looking at the Xcode packaging changes we did in 6.0.2, this could actually be fixed. The affected line was [this one|https://github.com/appcelerator/titanium_mobile/blob/6_0_1_GA/iphone/cli/hooks/package.js#L123] that renamed the staging archive to include the time stamp. This has been rewritten for compatibility with Xcode 8.3 and later where we don't need to rename any archives any more. [~magnatronus] can you try 6.0.2.GA? We just released it last night :-).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-28T09:05:44.000+0000", "updated": "2017-02-28T09:07:45.000+0000" }, { "id": "408223", "author": { "name": "magnatronus", "key": "magnatronus", "displayName": "Steve Rogers", "active": true, "timeZone": "Europe/London" }, "body": "Hi Hans, I have install 6.0.2.GA onto my system (no other changes) and now the dist-appstore runs without issue from the external drive :-)", "updateAuthor": { "name": "magnatronus", "key": "magnatronus", "displayName": "Steve Rogers", "active": true, "timeZone": "Europe/London" }, "created": "2017-03-01T16:24:33.000+0000", "updated": "2017-03-01T16:24:33.000+0000" }, { "id": "408224", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Nice!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-03-01T16:25:55.000+0000", "updated": "2017-03-01T16:25:55.000+0000" }, { "id": "408225", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Marking as Duplicate of TIMOB-24362, thx for the feedback!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-01T16:28:12.000+0000", "updated": "2017-03-01T16:28:12.000+0000" }, { "id": "415692", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:35:59.000+0000", "updated": "2017-03-24T18:35:59.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }