{ "id": "87793", "key": "TIMOB-7961", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-03-15T10:09:51.000+0000", "created": "2012-03-12T15:50:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:07:34.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": "To reproduce try to run the simulator from studio with iOS sdk 4.3.\r\n\r\nWhen running you get this error:\r\n{code}\r\n[INFO] Performing clean build\r\n[ERROR] /Users/ayeung/Documents/Titanium Studio Workspace/tabbedapp/build/iphone/Classes/NetworkModule.m:252: error: 'UIRemoteNotificationTypeNewsstandContentAvailability' undeclared (first use in this function)\r\n[ERROR] /Users/ayeung/Documents/Titanium Studio Workspace/tabbedapp/build/iphone/Classes/NetworkModule.m:252: error: (Each undeclared identifier is reported only once\r\n[ERROR] /Users/ayeung/Documents/Titanium Studio Workspace/tabbedapp/build/iphone/Classes/NetworkModule.m:252: error: for each function it appears in.)\r\n[ERROR] /Users/ayeung/Documents/Titanium Studio Workspace/tabbedapp/build/iphone/Classes/NetworkModule.m:304: error: 'UIRemoteNotificationTypeNewsstandContentAvailability' undeclared (first use in this function)\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/iphone/builder.py\", line 1311, in main\r\n execute_xcode(\"iphonesimulator%s\" % link_version,[\"GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s\" % (log_id,sdk_version,debugstr,kroll_coverage)],False)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/iphone/builder.py\", line 1217, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Users/ayeung/titanium/titanium_mobile/dist/mobilesdk/osx/2.0.0/iphone/run.py\", line 39, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Linker issue when building against an older version of iOS sdk", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "186499", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I worked with Max a little on this, and I was unable to reproduce this issue after I installed a newer version of xcode.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T14:18:33.000+0000", "updated": "2012-03-14T14:18:33.000+0000" }, { "id": "186620", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "User had both Xcode 4.0 (/Developer) and 4.2 (/Developer-4.3) installed. And Xcode 4.0 was used by default.\r\nTitanium does not support 4.0 since 1.8.0 release.\r\n\r\nSolution: switch to Xcode 4.2 and above.\r\n{code}\r\nsudo xcode-select /Developer-4.2\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T10:09:51.000+0000", "updated": "2012-03-15T10:09:51.000+0000" }, { "id": "410918", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:07:34.000+0000", "updated": "2017-03-09T23:07:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }