{ "id": "170301", "key": "AC-5369", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-11-14T15:44:20.000+0000", "created": "2017-11-14T14:03:29.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-15T07:10:46.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15000", "name": "Hyperloop" } ], "description": "Hey!\r\n\r\nI ran into an issue when using Analytics pod version higher than 3.3.0. Starting from 3.4.0 it does not build and gives an CompileC error when trying to build.\r\n\r\nXcode version: 9.1\r\nTitanium SDK: 6.3.0.GA\r\n\r\nMy Podfile looks like this:\r\n\r\n{code:java}\r\n# This is required for CocoaPods 1.x\r\ninstall! 'cocoapods',\r\n :integrate_targets => false\r\n\r\nplatform :ios, '8.0'\r\ntarget 'Testcase' do\r\n pod 'Analytics', '3.6.7'\r\nend\r\n{code}\r\n\r\nCode to initiate the module:\r\n\r\n{code:java}\r\nanalytics = require('Analytics/SEGAnalytics');\r\nanalyticsConf = require('Analytics/SEGAnalyticsConfiguration');\r\nvar analyticsKey = '*****';\r\n \r\nvar conf = analyticsConf.configurationWithWriteKey(analyticsKey);\r\nconf.recordScreenViews = false;\r\nconf.trackApplicationLifecycleEvents = true;\r\nconf.flushAt = 1;\r\nanalytics.setupWithConfiguration(conf);\r\n{code}\r\n\r\n\r\nError from studio:\r\n\r\n{code:java}\r\n[ERROR] : ** BUILD FAILED **\r\n[ERROR] : The following build commands failed:\r\n[ERROR] : \tCompileC build/Intermediates/Starship\\ Project\\ Mercury.build/Debug-iphonesimulator/Starship\\ Project\\ Mercury.build/Objects-normal/x86_64/analytics.o /Users/kristjan/Documents/Appcelerator_Studio_Workspace/Starship\\ Project\\ Mercury/build/hyperloop/ios/js/analytics/analytics.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : \tLd build/Products/Debug-iphonesimulator/Starship\\ Project\\ Mercury.app/Starship\\ Project\\ Mercury normal x86_64\r\n[ERROR] : \tGenerateDSYMFile build/Products/Debug-iphonesimulator/Starship\\ Project\\ Mercury.app.dSYM build/Products/Debug-iphonesimulator/Starship\\ Project\\ Mercury.app/Starship\\ Project\\ Mercury\r\n[ERROR] : (3 failures)\r\n{code}\r\n\r\nAny idea what could cause this? Segment analytics is a really good tool for analytics and 3.3.0 version has some unfixed memory leaks. I would really appreciate if the latest version could be made to work.\r\n\r\nLet me know if there is any further information i could provide.", "attachment": [], "flagged": false, "summary": "Build failed when using analytics pod", "creator": { "name": "kbrand", "key": "kbrand", "displayName": "Kristjan Brand", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kbrand", "key": "kbrand", "displayName": "Kristjan Brand", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS Sierra version 10.12.6\r\nTitanium SDK: 6.3.0.GA\r\nXcode version: 9.1\r\nHyperloop: 2.2.2", "comment": { "comments": [ { "id": "430588", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This issue was resolved as not reproducible. Please do not create new issues as the account may get blocked because of spam-detections. The old one was not reopened because the library update itself caused the issue. Unless there are no new infos regarding the changes that caused this issue, the initial issue cannot be reopened.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-14T15:44:20.000+0000", "updated": "2017-11-14T15:44:20.000+0000" }, { "id": "430680", "author": { "name": "kbrand", "key": "kbrand", "displayName": "Kristjan Brand", "active": true, "timeZone": "America/Los_Angeles" }, "body": "But it is reproducible. I gave all the information why this build fails. Go and try it please.\r\nI don't know what you mean with the \"library update itself caused the issue\". That is what hyperloop is doing? Taking a library and compiling it. But in this case it fails to do it. Meaning there is some piece of code what hyperloop is not able to compile meaning there is a bug somewhere.\r\n\r\nMy last issue was ignored for way too long with the bug still being there. That is why i created a new one to draw attention to it again.\r\n\r\nPlease take the 5 minutes and try to run this code and see that the compiling fails.\r\n", "updateAuthor": { "name": "kbrand", "key": "kbrand", "displayName": "Kristjan Brand", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-15T07:10:46.000+0000", "updated": "2017-11-15T07:10:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }