{ "id": "110797", "key": "AC-2288", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-28T15:53:38.000+0000", "created": "2013-03-07T18:23:37.000+0000", "labels": [ "bug" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:17.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Compilation of my plugin fails here. This is a regression from 3.0.0, where everything worked.\r\n\r\nIn file included from /Users/steipete/Documents/Projects/PSPDFKit/Titanium/Classes/TIPSPDFViewControllerProxy.m:8:\r\nIn file included from /Users/steipete/Documents/Projects/PSPDFKit/Titanium/Classes/TIPSPDFViewControllerProxy.h:9:\r\nIn file included from /Users/steipete/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/iphone/include/TiModule.h:8:\r\nIn file included from /Users/steipete/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/iphone/include/TiUtils.h:26:\r\n/Users/steipete/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/iphone/include/TiBuffer.h:28:1: error: overriding method has mismatched ns_returns_not_retained attributes\r\n-(NSNumber*)copy:(id)args NS_RETURNS_NOT_RETAINED;\r\n^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:50:1: note: method declared here\r\n- (void)copy:(id)sender NS_AVAILABLE_IOS(3_0);\r\n^\r\n1 error generated.\r\n\r\nI suggest changing the custom copy: to something prefixed, or removing the NS_RETURNS_NOT_RETAINED to fix this issue.", "attachment": [], "flagged": false, "summary": "ARC plugin compilation fails with 'error: overriding method has mismatched ns_returns_not_retained attributes' ", "creator": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.0.2", "comment": { "comments": [ { "id": "241167", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "body": "The PSPDFKit Titanium plugin uses ARC, seems I'm pretty much the first one to use ARC so I run into all kinds of problems :/", "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-07T18:24:38.000+0000", "updated": "2013-03-07T18:44:04.000+0000" }, { "id": "241174", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "body": "Removing the NS_RETURNS_NOT_RETAINED works and I'm able to compile again - but it doesn't seem like a good idea. Please properly fix this. (I can provide you with the PSPDFKit sources to test this if you keep them private)", "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-07T18:50:14.000+0000", "updated": "2013-03-07T18:50:14.000+0000" }, { "id": "241186", "author": { "name": "brownemt", "key": "brownemt", "displayName": "Michael Browne", "active": true, "timeZone": "Europe/London" }, "body": "Any idea when this issue will be resolved. Been having problems compiling modules with this error. Stuck using older versions of the SDK and having to do several different work arounds.", "updateAuthor": { "name": "brownemt", "key": "brownemt", "displayName": "Michael Browne", "active": true, "timeZone": "Europe/London" }, "created": "2013-03-07T19:25:26.000+0000", "updated": "2013-03-07T19:25:26.000+0000" }, { "id": "245571", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We do not currently support ARC.", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T22:30:37.000+0000", "updated": "2013-04-03T22:30:37.000+0000" }, { "id": "245672", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-04T05:52:45.000+0000", "updated": "2013-04-04T05:52:45.000+0000" }, { "id": "245740", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T17:16:24.000+0000", "updated": "2013-04-04T17:16:24.000+0000" }, { "id": "249282", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue has been resolved with 3.1.0 release.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-28T15:53:38.000+0000", "updated": "2013-04-28T15:53:38.000+0000" }, { "id": "286626", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T20:34:07.000+0000", "updated": "2014-01-03T20:34:07.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }