{ "id": "166793", "key": "TIMOB-24534", "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": null, "resolutiondate": null, "created": "2017-03-26T14:21:40.000+0000", "priority": null, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-31T20:52:19.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "If I try to export the project as an iOS Adhoc / Enterprise ipa, it gives the following error:\r\n\r\n\r\n{code}\r\n[ERROR] : Failed to export archive to ipa\r\n[ERROR] : 2017-03-25 16:47:25.761 xcodebuild[29128:87514] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/fr/nqly_t5n1f13l_k9hbm9vzb80000gn/T/App_2017-03-25_16-47-25.759.xcdistributionlogs'.\r\n[ERROR] : 1.2.840.113635.100.1.61\r\n[ERROR] : 2017-03-25 16:47:26.196 xcodebuild[29128:87514] [MT] IDEDistribution: Step failed: : Error Domain=IDEDistributionErrorDomain Code=14 \"No applicable devices found.\" UserInfo={NSLocalizedDescription=No applicable devices found.}\r\n[ERROR] : error: exportArchive: No applicable devices found.\r\n[ERROR] :\r\n\r\n[ERROR] : Error Domain=IDEDistributionErrorDomain Code=14 \"No applicable devices found.\" UserInfo={NSLocalizedDescription=No applicable devices found.}\r\n{code}\r\n\r\nIf I do the same over Xcode (by using the .xcodeproj file and archiving it), it works flawlessly. One thing to clarify is that I already added the device / certificates to the account/team and the computer, so that's not the issue.", "attachment": [], "flagged": false, "summary": "iOS: Failed to export Adhoc/Enterprise archive to ipa (No applicable devices found)", "creator": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "subtasks": [], "reporter": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "environment": null, "comment": { "comments": [ { "id": "415843", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there! Do you use SDK 6.0.3.GA? ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-26T16:01:01.000+0000", "updated": "2017-03-26T16:01:01.000+0000" }, { "id": "415844", "author": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "body": "No, using 6.0.2.GA. I will download 6.0.3.GA and retry again. Will keep you posted once I try.", "updateAuthor": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "created": "2017-03-26T16:04:13.000+0000", "updated": "2017-03-26T16:04:13.000+0000" }, { "id": "415845", "author": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "body": "Tried to run it with 6.0.3.GA, but after setting 6.0.3.GA (and last build of 6.0.4) I get the following error:\r\n\r\n{code}\r\nRebuild failed:\r\n2017-03-26T19:03:06.488Z | ERROR | Rebuild failed:\r\nnode-pre-gyp info it worked if it ends with ok\r\nnode-pre-gyp info using node-pre-gyp@0.6.29\r\nnode-pre-gyp info using node@7.7.3 | darwin | x64\r\nnode-pre-gyp info check checked for \"/Users/demogar/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.v20170324115015/node_modules/node-ios-device/binding/node-v51-darwin-x64/node_ios_device.node\" (not found)\r\nnode-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.1.0/node_ios_device-v1.1.0-node-v51-darwin-x64.tar.gz\r\nnode-pre-gyp http 404 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.1.0/node_ios_device-v1.1.0-node-v51-darwin-x64.tar.gz\r\n{code}\r\n\r\nLooks like a library is missing, so I went to `/6.0.4.v20170324115015/` and made `npm install node-ios-device` and it gives me the following error:\r\n\r\n{code}\r\n> node-ios-device@1.1.0 install /Users/demogar/Library/Application Support/Titanium/mobilesdk/osx/6.0.4.v20170324115015/node_modules/ioslib/node_modules/node-ios-device\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp ERR! Tried to download(404): https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v1.1.0/node_ios_device-v1.1.0-node-v51-darwin-x64.tar.gz\r\nnode-pre-gyp ERR! Pre-built binaries not found for node-ios-device@1.1.0 and node@7.7.3 (node-v51 ABI) (falling back to source compile with node-gyp)\r\n{code}\r\n\r\nThe package is giving a 404 when trying to download it.", "updateAuthor": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "created": "2017-03-26T19:30:17.000+0000", "updated": "2017-03-26T19:30:43.000+0000" }, { "id": "415846", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Node 7 is not officially supported so far, 4.7 is recommended I think. Also ensure to clear your build directory before.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-26T19:36:32.000+0000", "updated": "2017-03-26T19:36:32.000+0000" }, { "id": "415876", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I had the same error when I was using Ruby that was managed by rvm. Starting with 6.0.2, Adhoc builds now use \"xcode archive\", which requires system Ruby. Try typing \"rvm use system\" on the command line, and then try packaging in that same window. ", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T16:32:06.000+0000", "updated": "2017-03-27T16:32:06.000+0000" }, { "id": "419675", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "still happening in 6.0.4. Don't have *rvm* installed on my system.\r\n\r\nHow did you solve it in the end?\r\n\r\n(I have node 5.6.0 installed.)", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-15T14:20:49.000+0000", "updated": "2017-05-15T14:20:49.000+0000" }, { "id": "419676", "author": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "body": "I downloaded 6.0.3.GA and downgraded Node (as per recommendation) and the error disappeared.", "updateAuthor": { "name": "demogar", "key": "demogar", "displayName": "Demostenes Garcia", "active": true, "timeZone": "America/Bogota" }, "created": "2017-05-15T14:27:54.000+0000", "updated": "2017-05-15T14:27:54.000+0000" }, { "id": "419679", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "ok! updating to Xcode 8.3.2 fixed this. Thank you", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-15T14:37:11.000+0000", "updated": "2017-05-15T14:37:11.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }