{ "id": "150059", "key": "TIMOB-19303", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" }, { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-03T02:51:40.000+0000", "created": "2015-07-31T17:47:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-08-03T08:22:25.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Description\r\n\r\nWhen building an iOS module with an SDK later than 4.1.0.GA the build will fail with the following errors \r\n\r\n{code}\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:44: error: unknown type name 'UIView'\r\nvoid DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy);\r\n ^\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:50: error: expected ')'\r\nvoid DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy);\r\n ^\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:92:43: note: to match this '('\r\nvoid DoProxyDelegateChangedValuesWithProxy(UIView * target, NSString * key, id oldValue, id newValue, TiProxy * proxy);\r\n ^\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:49: error: unknown type name 'UIView'\r\nvoid DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy);\r\n ^\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:55: error: expected ')'\r\nvoid DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy);\r\n ^\r\n/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA/iphone/include/TiProxy.h:93:48: note: to match this '('\r\nvoid DoProxyDelegateReadValuesWithKeysFromProxy(UIView * target, id keys, TiProxy * proxy);\r\n{code}\r\n\r\nIt cannot find them because of [this commit|https://github.com/appcelerator/titanium_mobile/commit/7fc02cbfe17a8201dc71e604035aeb3191c9f0e0#diff-2ce52d8edb4096998bcad96ef6ef6211]\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Clone a module such as [ti.paint|https://github.com/appcelerator-modules/ti.paint/]\r\n2. cd into the ios folder\r\n3. Open the titanium.xcconfig and change the SDK to 4.1.0.GA\r\n\r\nh5.Actual Result\r\n\r\nThe build will fail\r\n\r\nh5.Expected Result\r\n\r\nThe build should not fail", "attachment": [], "flagged": false, "summary": "iOS: Building modules errors out due to 'unknown type name 'UIView''", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 4.1.0.GA", "closedSprints": [ { "id": 451, "state": "closed", "name": "2015 Sprint 16 SDK", "startDate": "2015-08-01T00:30:05.052Z", "endDate": "2015-08-15T00:30:00.000Z", "completeDate": "2015-08-17T05:55:00.386Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "358785", "author": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "By adding back in TiBase.h this issue is resolved.\r\n\r\nDone conditionally to avoid any problems\r\n~~~\r\n#ifndef TI_BASE_H\r\n#import \"TiBase.h\"\r\n#endif\r\n~~~\r\n\r\nIncluded in this PR https://github.com/appcelerator/titanium_mobile/pull/6999", "updateAuthor": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-01T01:48:21.000+0000", "updated": "2015-08-01T01:48:21.000+0000" }, { "id": "358787", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~ben.bahrenburg@gmail.com] Did you happen to test the Titanium SDK after your change when building using the built-in JavaScriptCore?\r\n\r\n{code}\r\n\r\n\r\n \r\n true\r\n \r\n\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-01T03:12:00.000+0000", "updated": "2015-08-01T03:12:27.000+0000" }, { "id": "358820", "author": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested using:\r\n\r\n* Ti 4.1.0 sample project https://github.com/appcelerator-developer-relations/appc-sample-ti410, which contains true\r\n\r\n* Targeting iOS 8.4\r\n* Xcode 6.4\r\n\r\nNo issues found. Please note I did not test against Xcode 7 and iOS 9.", "updateAuthor": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-03T02:25:58.000+0000", "updated": "2015-08-03T02:25:58.000+0000" }, { "id": "358822", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just tested using the sample project on Xcode 7 beta 4, iOS 9, with jscore enabled / disabled. \r\nNo issues either. Merging PR.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-03T02:43:31.000+0000", "updated": "2015-08-03T02:43:31.000+0000" }, { "id": "358823", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.\r\nbackport PR: https://github.com/appcelerator/titanium_mobile/pull/7001\r\nThanks [~ben.bahrenburg@gmail.com]!", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-03T02:51:19.000+0000", "updated": "2015-08-03T02:52:14.000+0000" }, { "id": "358836", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the samples mentioned by Ewan and Ben. Tested with jscore enabled/disabled. Also tested on iOS 8.4 with Xcode 6.4 and iOS 9.0 with Xcode 7\r\nVerified on:\r\nMac OS 10.10.4\r\nTi SDK: 4.1.1.v20150802200935 , 4.2.0.v20150803003621\r\nAppc CLI NPM: 4.1.0\r\nAppc CLI Core: 4.1.2\r\nXcode: 6.4, 7.0-b4", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-03T08:22:25.000+0000", "updated": "2015-08-03T08:22:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }