{ "id": "165929", "key": "AC-4784", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-02-13T17:20:43.000+0000", "created": "2017-02-09T18:00:00.000+0000", "labels": [ "64-bit", "buildproblem", "ios", "refreshcontrol", "release-6.0.1" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-23T15:12:19.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "[INFO] : Invoking xcodebuild\r\n[ERROR] : ** BUILD FAILED **\r\n[ERROR] : The following build commands failed:\r\n[ERROR] : CompileC build/Intermediates/Pillsync\\ Scanner.build/Debug-iphoneos/Pillsync\\ Scanner.build/Objects-normal/armv7/TiUIRefreshControlProxy.o Classes/TiUIRefreshControlProxy.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : (1 failure)\r\n\r\nI've narrowed the bug down to this API being added: Ti.UI.createRefreshControl\r\nI've created a test project and built successfully to device WITHOUT that API. As soon as it's added, there's the error.\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Build to Device fail due to Ti.UI.RefreshControl usage", "creator": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "environment": "SDK 6.0.0 and 6.0.1\r\nXcode 8.2\r\nStudio 4.8.1", "comment": { "comments": [ { "id": "406751", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample code that regenerates the issue for you. We will test the code and get back to you. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-09T18:39:17.000+0000", "updated": "2017-02-09T18:39:17.000+0000" }, { "id": "406754", "author": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "body": " \r\n var pullRefresh = Ti.UI.createRefreshControl();\r\n tableResults.refreshControl = pullRefresh;\r\n\r\n\"TiUIRefreshControlProxy.m normal armv7 objective-c \"\r\n\r\ni believe the API for ios Refresh Control is giving this error.\r\n", "updateAuthor": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "created": "2017-02-09T18:46:44.000+0000", "updated": "2017-02-09T18:46:44.000+0000" }, { "id": "406760", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "And please also attach the trace log, that would help greatly.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-09T19:06:21.000+0000", "updated": "2017-02-09T19:06:21.000+0000" }, { "id": "406775", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I am testing the below code is simulator \r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n fullscreen:true\r\n});\r\nvar counter = 0;\r\nfunction genData()\r\n{\r\n var data = [];\r\n var i=1;\r\n for (i=1;i<=3;i++) {\r\n data.push({properties:{title:'ROW '+(counter+i)}});\r\n }\r\n counter += 3;\r\n return data;\r\n}\r\nvar section = Ti.UI.createListSection();\r\nsection.setItems(genData());\r\nvar control = Ti.UI.createRefreshControl({\r\n tintColor:'red'\r\n});\r\nvar listView = Ti.UI.createListView({\r\n sections:[section],\r\n refreshControl:control\r\n});\r\ncontrol.addEventListener('refreshstart',function(e){\r\n Ti.API.info('refreshstart');\r\n setTimeout(function(){\r\n Ti.API.debug('Timeout');\r\n section.appendItems(genData());\r\n control.endRefreshing();\r\n }, 2000);\r\n});\r\nwin.add(listView);\r\nwin.open();\r\n{code}\r\n\r\nThis works fine for iOS 10.2 simulator. will update the device result.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-09T21:52:32.000+0000", "updated": "2017-02-09T21:52:32.000+0000" }, { "id": "406779", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello!\r\n\r\nI have tested the test code provided by [~sdarda] it works perfectly here.\r\n\r\nTesting Environment\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.12.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.6.2\r\n npm Version = 2.15.11\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\nTitanium SDK\r\n SDK Version = 6.0.1.GA\r\n\r\nDevice: iPhone 5s v10.2\r\nXcode: v8.2.1\r\n\r\nThanks.", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-02-09T22:12:37.000+0000", "updated": "2017-02-09T22:12:37.000+0000" }, { "id": "406800", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There was no notable change to the Ti.UI.RefreshControl component over the last years. We will need the trace-log to say anything else.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-10T13:10:10.000+0000", "updated": "2017-02-10T13:10:10.000+0000" }, { "id": "406820", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~tom@inventivegadget.com], Please send the trace log for us to analyze. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-10T19:19:27.000+0000", "updated": "2017-02-10T19:19:27.000+0000" }, { "id": "427094", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~tom@inventivegadget.com] Any updates on your side? Did you resolve the issue yourself?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-23T12:35:25.000+0000", "updated": "2017-08-23T12:35:25.000+0000" }, { "id": "427095", "author": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "body": "yea it was Modules conflict. just had to add Width/Height property on createRefreshControl.", "updateAuthor": { "name": "tom@inventivegadget.com", "key": "tom@inventivegadget.com", "displayName": "Tom Nguyen", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-23T15:12:19.000+0000", "updated": "2017-08-23T15:12:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }