Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-483

FileTransfer - unknown property attribute 'atomic' when building from source (Xcode 3 only)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.7.0
    • cordova-ios
    • None
    • I am using Xcode 3.2.6 iOS SDK 4.3 in Mac OS X 10.6.8

    Description

      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.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: