Project: titanium
Issue TIMOB-19303: iOS: Building modules errors out due to 'unknown type name 'UIView''
h5.Description When building an iOS module with an SDK later than 4.1.0.GA the build will fail with the following errors {code} /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:44: error: unknown type name 'UIView' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:50: error: expected ')' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:43: note: to match this '(' void DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy); ^ /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:49: error: unknown type name 'UIView' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); ^ /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:55: error: expected ')' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); ^ /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:48: note: to match this '(' void DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy); {code} It cannot find them because of [this commit|https://github.com/appcelerator/titanium_mobile/commit/7fc02cbfe17a8201dc71e604035aeb3191c9f0e0#diff-2ce52d8edb4096998bcad96ef6ef6211] h5.Steps To Reproduce 1. Clone a module such as [ti.paint|https://github.com/appcelerator-modules/ti.paint/] 2. cd into the ios folder 3. Open the titanium.xcconfig and change the SDK to 4.1.0.GA h5.Actual Result The build will fail h5.Expected Result The build should not fail
Story points: 5