Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2091] Module building regression in 2.1.4 GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-04-04T23:38:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsn/a
ReporterMartijn Bogaard
AssigneeMauro Parra-Miranda
Created2012-12-03T01:55:20.000+0000
Updated2016-03-08T07:41:03.000+0000

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. New Module: /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:89:34: Cannot find protocol declaration for 'LayoutAutosizing' /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'? /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'? /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:96:19: Interface type cannot be statically allocated /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'? /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:248:3: Expected a type /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'? /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:442:3: Expected a type /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:463:28: Expected a type /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:532:21: Expected a type /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h /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' Older module: /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:89: Cannot find protocol declaration for 'LayoutAutosizing' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:96: Expected specifier-qualifier-list before 'LayoutConstraint' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:108: Expected specifier-qualifier-list before 'TiUIView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:238: Expected specifier-qualifier-list before 'LayoutConstraint' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:248: Expected ')' before 'TiUIView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:251: Expected specifier-qualifier-list before 'TiUIView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:442: Expected ')' before 'TiUIView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:463: Expected ')' before 'TiAnimation' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiViewProxy.h:532: Expected ')' before 'TiUIView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiUIWindow.h /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' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiWindowProxy.h /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' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h:74: Cannot find protocol declaration for 'TiKeyboardFocusableView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootController.h:80: Cannot find protocol declaration for 'TiKeyboardFocusableView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h:62: Cannot find protocol declaration for 'TiKeyboardFocusableView' /Users/martijn/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/include/TiRootViewController.h:172: Cannot find protocol declaration for 'TiKeyboardFocusableView' I added 2 versions of a preprocessed file of the new module.

Attachments

FileDateSize
bug-preprocess-2.1.3.txt2012-12-03T01:55:20.000+00001639567
bug-preprocess-2.1.4.txt2012-12-03T01:55:21.000+00001675528

Comments

  1. Pedro Enrique 2013-04-02

    Hi, have you resolved this yet? If not, upload the xconfig files from the module. Looks like you're pointing to a wrong path
  2. Shak Hossain 2013-12-07

    Hi, We 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.

JSON Source