FileTransfer - unknown property attribute 'atomic' when building from source
(Xcode 3 only)
-------------------------------------------------------------------------------------------
Key: CB-483
URL: https://issues.apache.org/jira/browse/CB-483
Project: Apache Callback
Issue Type: Bug
Components: iOS
Affects Versions: 1.6.0
Environment: I am using Xcode 3.2.6 iOS SDK 4.3 in Mac OS X 10.6.8
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Fix For: 1.7.0
Hi,
I got these errors (below). It is unknown property attribute 'atomic'
How do you fix these errors?
I am using Xcode 3.2.6 iOS SDK 4.3 in Mac OS X 10.6.8
Thanks.
Noli
###############
In file included from
/var/root/Documents/CordovaLib/Classes/CDVFileTransfer.m:20:
/var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:12: error:
unknown property attribute 'atomic'
@property (atomic, retain) NSMutableData* responseData;
^
/var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:1:
warning: no 'assign', 'retain', or 'copy' attribute is specified -
'assign' is assumed
@property (atomic, retain) NSMutableData* responseData;
^
/var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:1:
warning: default property attribute 'assign' not appropriate for
non-gc object
/var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:57:12: error:
unknown property attribute 'atomic'
@property (atomic, assign) int responseCode;
^
2 warnings and 2 errors generated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira