{ "id": "162255", "key": "TIMOB-23705", "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": "2016-08-24T01:30:31.000+0000", "created": "2016-07-29T01:09:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "build", "hyperloop", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:01:35.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "*Steps to reproduce*:\r\n\r\n1. Create new hyperloop enabled project.\r\n2. Change SDK to 5.4.0.v20160727143921 (latest on build server).\r\n3. Create dummy *appc.js* file in the project's root folder:\r\n\r\n{code:javascript}\r\nmodule.exports = {\r\n\ttype: 'app',\r\n\tgroup: 'titanium',\r\n\tdependencies: { },\r\n\thyperloop: {\r\n\t\tios: {\r\n\t\t\txcodebuild: { flags: {}, frameworks: [] },\r\n\t\t\tthirdparty: {\r\n\t\t\t\t'MyFramework': { source: ['src'], header: 'src', resource: 'src'\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n{code}\r\n\r\n4. Create \"src\" folder in the project's root folder.\r\n5. Try and build project. It will crash with the following:\r\n\r\n\r\n{code:java}\r\n[INFO] Invoking xcodebuild\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileC build/Intermediates/loopmodules-charts.build/Debug-iphonesimulator/loopmodules-charts.build/Objects-normal/i386/TiFile.o Classes/TiFile.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\nSometimes that error changes. If i keep trying to build the project sometimes i will get this:\r\n\r\n{code:java}\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileC build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/i386/TiUITableViewAction.o Classes/TiUITableViewAction.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] CompileC build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/i386/TiFile.o Classes/TiFile.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] CompileC build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/i386/TiUIiPhoneScrollIndicatorStyleProxy.o Classes/TiUIiPhoneScrollIndicatorStyleProxy.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] (3 failures){code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop - creating APPC.JS on new projects causes build to fail", "creator": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "subtasks": [], "reporter": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "environment": "SDK 5.4.0.v20160727143921\r\nHyperloop 1.2.3\r\n", "comment": { "comments": [ { "id": "391993", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The build only fails sometimes? Anything reproducible? We need at least the full trace-log to track down the exact error causing the build to fail. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-29T14:55:35.000+0000", "updated": "2016-07-29T14:55:35.000+0000" }, { "id": "392061", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "It fails everytime. Even if the *appc.js* points to no third party frameworks or has no build flags, etc. I can get you the full log tomorrow at my workplace's computer. ", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-07-31T10:57:22.000+0000", "updated": "2016-07-31T10:57:22.000+0000" }, { "id": "392105", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It may be fixed with [this commit|https://github.com/appcelerator/titanium_mobile/pull/8177] that fixed a common build-issue on 5.4.0 and master. Please try with the latest one.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-01T09:42:41.000+0000", "updated": "2016-08-01T09:42:41.000+0000" }, { "id": "392264", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Hey @Hans Knoechel, i've tried running an app again with the *appc.js* file placed on its root folder with the latest SDK. \r\n\r\nI still got the same error...\r\n\r\n\r\n{code:java}\r\n[INFO] Invoking xcodebuild\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileC build/Intermediates/loopmodules-charts.build/Debug-iphonesimulator/loopmodules-charts.build/Objects-normal/i386/TiFile.o Classes/TiFile.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] CompileC build/Intermediates/loopmodules-charts.build/Debug-iphonesimulator/loopmodules-charts.build/Objects-normal/i386/TiUIiPhoneScrollIndicatorStyleProxy.o Classes/TiUIiPhoneScrollIndicatorStyleProxy.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] (2 failures)\r\n{code}\r\n", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-03T03:25:29.000+0000", "updated": "2016-08-03T03:25:29.000+0000" }, { "id": "392268", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rdperottoni] Still not too sure about why this error is happening but, can you put your Xcode version info here? Please note that:\r\nOur latest master branch will only work with Xcode 8 beta and Xcode 8 GA when it's released.\r\nOur 5.4.0 only works with Xcode 7.X\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-03T03:36:02.000+0000", "updated": "2016-08-03T03:36:02.000+0000" }, { "id": "392270", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "@Chee Kiat Ng i figured out where the problem is coming from!\r\nI've created the *appc.js* file with this content:\r\n\r\n{code:java}\r\n/**\r\n * Hyperloop configuration\r\n */\r\nmodule.exports = {\r\n\ttype: 'app',\r\n\tgroup: 'titanium',\r\n\tdependencies: {\r\n\t},\r\n\thyperloop: {\r\n\t\tios: {\r\n\t\t\txcodebuild: { flags: {}, frameworks: ['Charts'] },\r\n\t\t\tthirdparty: { 'MyFramework': { source: ['src'], header: 'src', resource: 'src'\t}}\r\n\t\t}\r\n\t}\r\n};\r\n{code}\r\n\r\nNote: My \"src\" folder is empty.\r\nIf i build my project i'm getting the error as you can see in the attached *build_iphone.log* file.\r\nWhen i delete the *thirdparty* property my project builds just fine.\r\n", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-03T03:52:56.000+0000", "updated": "2016-08-03T03:52:56.000+0000" }, { "id": "392271", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Mmmm... i can't add attachments anymore. I've uploaded the log in this text sharing website i just found: http://kl1p.com/build_iphone_log", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-03T03:59:08.000+0000", "updated": "2016-08-03T03:59:08.000+0000" }, { "id": "392275", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "XCode version: 7.3.1", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-03T04:36:15.000+0000", "updated": "2016-08-03T04:36:15.000+0000" }, { "id": "393584", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-19T05:39:04.000+0000", "updated": "2016-08-19T05:42:36.000+0000" }, { "id": "393736", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rdperottoni] So is this ticket resolved and fixed by your linked ticket?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-22T02:23:09.000+0000", "updated": "2016-08-22T02:23:09.000+0000" }, { "id": "394017", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Yep. Please close this one as it's not valid anymore. \r\nThanks.", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-08-24T00:39:20.000+0000", "updated": "2016-08-24T00:39:20.000+0000" }, { "id": "415610", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:01:35.000+0000", "updated": "2017-03-24T18:01:35.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }