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

Cordova Contacts Plugin fails to build for iOS, due to use of deprecated ABAddressBookRef

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Environment:
      • Using Visual Studio Taco
      • Remote build is using latest versions of XCode
      • Using Cordova version 6.1.1
      • Using Cordova-plugin-contacts 2.3.1
    • Flags:
      Important

      Description

      • After installing the Cordova Contacts Plugin, the iOS platform does not build, with the remote build Mac being used (via Visual Studio Taco remotebuild), reporting that a deprecated method is being used, causing the build to fail.
      • The deprecatd method being used is "ABAddressBookSave" and the recommendation of the plugin is to use "CNContactStore"
      • Here is the full error message:
      • AB_EXTERN bool ABAddressBookSave(ABAddressBookRef addressBook, CFErrorRef* error) AB_DEPRECATED("use [CNContactStore executeSaveRequest : error : ]");

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bennawaz168 Ben
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified