Project: titanium
Issue TIMOB-19017: iOS: ViewProxy modules error on building with "error: expected ')'"
Trying to build a module based on a simple ViewProxy as in the guide is now failing to build since the CI build SDK 4.1.x version. 4.0.x is fine. To reproduce. 1. Make sure you have SDK 4.1.x selected 2. Follow the instructions to build the example 'Square' module in the documentation here : http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Module_Quick_Start 3. Open in XCode. Clean and Build. (or run build.py) This is the error I'm getting: {code} In file included from /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiModule.h:7: /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:92:44: error: unknown type name 'UIView' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:92:50: error: expected ')' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:92:43: note: to match this '(' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:93:49: error: unknown type name 'UIView' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); ^ /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:93:55: error: expected ')' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); ^ /Library/Application Support/Titanium/mobilesdk/osx/4.1.0.v20150601234429/iphone/include/TiProxy.h:93:48: note: to match this '(' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); ^ 4 errors generated. ** BUILD FAILED ** {code}
Story points: 3