{ "id": "105827", "key": "AC-2091", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-04-04T23:38:20.000+0000", "created": "2012-12-03T01:55:20.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:03.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Building a simple module with 1 View and 1 ViewProxy will result in errors when its build against 2.1.4.GA. I found the issue with a new module and rebuilding a older module (developped against 1.7.2 and that rebuilds fine against 2.1.3.GA) has the same issue. I guess something is messed up with the headers but even after compairing the preprocessing output i can't see the issue.\r\n\r\nNew Module:\r\n\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:89:34: Cannot find protocol declaration for 'LayoutAutosizing'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:96:2: Unknown type name 'LayoutConstraint'; did you mean 'NSLayoutConstraint'?\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:108:2: Unknown type name 'TiUIView'; did you mean 'UIView'?\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:96:19: Interface type cannot be statically allocated\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:238:38: Unknown type name 'LayoutConstraint'; did you mean 'NSLayoutConstraint'?\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:248:3: Expected a type\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:251:38: Unknown type name 'TiUIView'; did you mean 'UIView'?\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:442:3: Expected a type\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:463:28: Expected a type\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:532:21: Expected a type\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h:9:25: Attempting to use the forward class 'TiUIView' as superclass of 'TiUIWindow'\r\n\r\nOlder module:\r\n\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:89: Cannot find protocol declaration for 'LayoutAutosizing'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:96: Expected specifier-qualifier-list before 'LayoutConstraint'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:108: Expected specifier-qualifier-list before 'TiUIView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:238: Expected specifier-qualifier-list before 'LayoutConstraint'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:248: Expected ')' before 'TiUIView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:251: Expected specifier-qualifier-list before 'TiUIView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:442: Expected ')' before 'TiUIView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:463: Expected ')' before 'TiAnimation'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:532: Expected ')' before 'TiUIView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h:9: Cannot find interface declaration for 'TiUIView', superclass of 'TiUIWindow'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiWindowProxy.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiWindowProxy.h:87: Cannot find interface declaration for 'TiViewProxy', superclass of 'TiWindowProxy'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h:74: Cannot find protocol declaration for 'TiKeyboardFocusableView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h:80: Cannot find protocol declaration for 'TiKeyboardFocusableView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h:62: Cannot find protocol declaration for 'TiKeyboardFocusableView'\r\n/Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h:172: Cannot find protocol declaration for 'TiKeyboardFocusableView'\r\n\r\nI added 2 versions of a preprocessed file of the new module.", "attachment": [ { "id": "33851", "filename": "bug-preprocess-2.1.3.txt", "author": { "name": "martijn", "key": "martijn", "displayName": "Martijn Bogaard", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-12-03T01:55:20.000+0000", "size": 1639567, "mimeType": "text/plain" }, { "id": "33852", "filename": "bug-preprocess-2.1.4.txt", "author": { "name": "martijn", "key": "martijn", "displayName": "Martijn Bogaard", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-12-03T01:55:21.000+0000", "size": 1675528, "mimeType": "text/plain" } ], "flagged": false, "summary": "Module building regression in 2.1.4 GA", "creator": { "name": "martijn", "key": "martijn", "displayName": "Martijn Bogaard", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "martijn", "key": "martijn", "displayName": "Martijn Bogaard", "active": true, "timeZone": "Europe/Berlin" }, "environment": "XCode 4.5.2\r\nTi 2.1.4.GA", "comment": { "comments": [ { "id": "245362", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi, have you resolved this yet? If not, upload the xconfig files from the module. Looks like you're pointing to a wrong path", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:49:28.000+0000", "updated": "2013-04-02T23:49:28.000+0000" }, { "id": "283013", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi,\n\nWe have not heard back from you since you posted the issue. Not sure if this is still throwing error in your app. If so, please send us a test case so that we can take next necessary step to fix. Also, if you can look into the path that Pedro recommended might be helpful. If we don't hear back, we will assume the issue is no longer valid and close it. ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-07T02:17:56.000+0000", "updated": "2013-12-07T02:17:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }