{ "id": "170766", "key": "TIMOB-25657", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-01-10T16:32:58.000+0000", "created": "2018-01-10T09:02:12.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "build", "ios" ], "versions": [ { "id": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:52:04.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": "*ERROR ON : Device (iPhone 5s)*\r\nThe following build commands failed:\r\n[ERROR] : \tLd build/Intermediates/SampleApp.build/Debug-iphoneos/SampleApp.build/Objects-normal/arm64/SampleApp normal arm64\r\n\r\n*ERROR ON : Simulator*\r\n The following build commands failed:\r\n[ERROR] : \tLd build/Products/Debug-iphonesimulator/SampleApp.app/SampleApp normal x86_64\r\n\r\n*NOTE : the application build works fine with Ti SDK 6.1.0*", "attachment": [ { "id": "63935", "filename": "app.js", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-10T10:35:18.000+0000", "size": 2213, "mimeType": "application/x-javascript" }, { "id": "63940", "filename": "tiapp.xml", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-10T14:29:53.000+0000", "size": 2282, "mimeType": "text/xml" } ], "flagged": false, "summary": "iOS: Build fails with Titanium SDK 7.0.1.GA", "creator": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X (High Sierra)\r\n Version = 10.13.1\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.4\r\n npm Version = 5.6.0\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.0.1.GA\r\n Target Platform = iphone", "closedSprints": [ { "id": 985, "state": "closed", "name": "2018 Sprint 01 SDK", "startDate": "2017-12-31T16:58:54.631Z", "endDate": "2018-01-14T16:58:00.000Z", "completeDate": "2018-01-17T22:44:27.028Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "432962", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~jignesh.igp],\r\nThanks for sharing with us. Please provide a full sample test code that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide the SDK and CLI version you are testing on.\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-10T09:36:38.000+0000", "updated": "2018-01-10T09:36:38.000+0000" }, { "id": "432967", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks. Please note down the details. sample code attached for your reference.\r\n\r\n\r\nAppcelerator Studio, build: 4.8.1.201612050850\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.1\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 8.9.4\r\n npm Version = 5.6.0\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.11\r\n Core Package = 7.0.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\n\r\nTitanium SDKs\r\n 7.0.1.GA\r\n Version = 7.0.1\r\n\r\n===================\r\n\r\nXcode\r\n 8.3.2 (build 8E2002) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 10.3\r\n iOS Simulators = 10.3\r\n Watch SDKs = 3.2\r\n Watch Simulators = 3.2\r\n Supported by TiSDK 7.0.1.GA = yes\r\n EULA Accepted = yes\r\n Teams = none\r\n\r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-10T10:38:41.000+0000", "updated": "2018-01-10T10:45:48.000+0000" }, { "id": "432973", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there! Checking it now - but I see you are using an outdated Xcode version (8.3.2) that is quite outdated (currently: 9.2). I am moving this ticket to engineering for reproducing your test-case, but if it works with the recommended setup (Xcode 9.2), you will need to update your dev-environment. Thanks!\r\n\r\nP.S.: I've also changed your tiapp.xml to not include your organization keys.\r\n\r\nUpdate: I've just tested your supplied code and it works fine (both Simulator and Device). I am highly expecting it to be an issue with an external module that used private API's that have been removed or replaced between the major releases 6 and 7. \r\n\r\nI don't want to leave you with an open issue, so I propose you to attach a full trace log (Studio: Change to log-level switch above the console to \"Trace\", CLI: {{appc run -p ios -l trace}}).\r\n\r\nDoing that, we'll be able to see the actual error that breaks the build. Lets give it a shot!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-10T14:28:57.000+0000", "updated": "2018-01-10T14:35:49.000+0000" }, { "id": "432976", "author": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Used CLI: *appc run -p ios -l trace* and it's throws below error in middle of build process\r\n\r\n[TRACE] ld: framework not found FileProvider for architecture x86_64\r\n[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] Ld build/Products/Debug-iphonesimulator/SampleApp.app/SampleApp normal x86_64\r\n[ERROR] (1 failure)\r\n\r\nplease let me know if you want to look full logs.\r\n\r\n", "updateAuthor": { "name": "jignesh.igp", "key": "jignesh.igp", "displayName": "Jignesh Kasundra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-10T15:10:10.000+0000", "updated": "2018-01-10T15:11:15.000+0000" }, { "id": "432981", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks, {{ld: framework not found FileProvider for architecture x86_64}} is the issue. Which is because Xcode 9 is required (The {{FileProvider}} framework is a core-framework). As a workaround, see [this answer|https://stackoverflow.com/a/46483043/5537752] that was solving the issue that also occurred on other development platforms.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-10T16:32:36.000+0000", "updated": "2018-01-10T16:32:36.000+0000" }, { "id": "440261", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as \"not our bug\". If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:52:04.000+0000", "updated": "2018-08-06T17:52:04.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }