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

Entitlements.plist missing from resources resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • cordova-ios

    Description

      Since CB-11854, my builds fail. Specifically, xcodebuild fails to find the Entitlements-Release.plist file in the resources directory. This is the error message I am getting:

      CopyPlistFile Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Entitlements-Release.plist App/Resources/Entitlements-Release.plist
          cd platforms/ios
          builtin-copyPlist --convert binary1 --outdir /Users/buijs/Library/Developer/Xcode/DerivedData/App-gkrrnbcilhcownetcuuhlwrvlwwd/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app -- App/Resources/Entitlements-Release.plist
      App/Resources/Entitlements-Release.plist:0: error: reading data: The file “Entitlements-Release.plist” couldn’t be opened because there is no such file.
      

      Is there a copy step missing from the build proces?

      The entitlements file is correctly generated at $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist, but xcodebuild expects it's path to be: $(PROJECT_DIR)/$(PROJECT_NAME)/Resources/Entitlements-$(CONFIGURATION).plist

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexbuijs Alex Buijs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: