{ "id": "141600", "key": "TIMOB-18203", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T22:08:14.000+0000", "created": "2014-12-15T19:17:13.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T22:08:14.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5. Description:\r\nWhen trying to test Kitchensink Master, I encountered a build failure. Cleaning the project resolved the failure. I retained the original build folder, and if you place the contents back in the project it will fail again.\r\n\r\nThe failure is logged as:\r\n{code}\r\n[TRACE] Undefined symbols for architecture armv7:\r\n[TRACE] \"TI::Profiler::s_sharedEnabledProfilerReference\", referenced from:\r\n[TRACE] -[TiProfiler enableCPUSampling:] in libti_ios_profiler.a(TiProfiler.o)\r\n[TRACE] \"TI::UString::UString(char const*)\", referenced from:\r\n[TRACE] -[TiProfiler enableCPUSampling:] in libti_ios_profiler.a(TiProfiler.o)\r\n[TRACE] \"TI::Profiler::profiler()\", referenced from:\r\n[TRACE] -[TiProfiler enableCPUSampling:] in libti_ios_profiler.a(TiProfiler.o)\r\n[TRACE] \"TI::Profiler::startProfiling(TI::TiExcState*, TI::UString const&)\", referenced from:\r\n[TRACE] -[TiProfiler enableCPUSampling:] in libti_ios_profiler.a(TiProfiler.o)\r\n[TRACE] \"TI::Profiler::stopProfiling(TI::TiExcState*, TI::UString const&)\", referenced from:\r\n[TRACE] -[TiProfiler enableCPUSampling:] in libti_ios_profiler.a(TiProfiler.o)\r\n[TRACE] \"TI::UString::utf8(bool) const\", referenced from:\r\n[TRACE] -[HprofData writeTraceWithThread:node:] in libti_ios_profiler.a(HprofData.o)\r\n[TRACE] ld: symbol(s) not found for architecture armv7\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/Debug-iphoneos/KitchenSink.app/KitchenSink normal armv7\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\nThis may occur in cases where a project is being updated to use SDK 3.5.0 but has not been cleaned\r\n\r\nh5. Steps to reproduce:\r\n1) Take a older project with an existing pre 3.5.0 SDK build folder (I have one that will work for KS but is too large to attach)\r\n2) Do not clean, set SDK to 3.5.0\r\n3) Attempt to build for device\r\n\r\nh5. Result:\r\nBuild fails as shown above\r\n\r\nh5. Expected Result:\r\nBetter information about why the build fails and how to rectify", "attachment": [], "flagged": false, "summary": "CLI: Older projects may fail to build with undefined symbols", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.10.1\r\nXcode 6.1.1 GM\r\nCLI: 3.4.1 GA\r\nAlloy: 1.5.1 GA\r\nTitanium SDK version 3.5.0.v20141212180914\r\nAppcelerator Studio, build: 3.4.1.201410281743", "comment": { "comments": [ { "id": "336565", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "This was unexpected behaviour?\r\n\r\nNot sure why, you should always clean between; SDKs, platform builds, target builds, testing, modules. Part of the testing process.", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2014-12-16T12:25:55.000+0000", "updated": "2014-12-16T12:25:55.000+0000" }, { "id": "336576", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Still, no reason why ti build couldn't detect such changes and auto clean.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-12-16T16:13:52.000+0000", "updated": "2014-12-16T16:13:52.000+0000" }, { "id": "336823", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If we import a project, we should clean.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-17T18:27:08.000+0000", "updated": "2014-12-17T18:27:08.000+0000" }, { "id": "341936", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] The challenge is as well when you have existing projects in the workspace and you upgrade. We should probably trigger a clean when selecting a new SDK.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-03T23:49:09.000+0000", "updated": "2015-02-03T23:49:09.000+0000" }, { "id": "418944", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T22:08:14.000+0000", "updated": "2017-05-02T22:08:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }